I have a page that uses several php includes from different php scripts. The problem is one seems to interfere with the other. Is there a way to say this include stops here and it wont have any effect on the rest of the page?
I think once you have included a file in the main file, it behaves as lines of the main file. If so, you should write each included file to take that into account. But I am only a php newbie myself - let's see what the gurus say.
What do you mean by interfer please specify clearly. The includes will work only on the given spot, lets say if you give <td><?php include("filename.php"); ?> it will include only in that TD not in the enitre page.
Newladder, whilst the include will only load where specified, the code may affect later parts of the page - for example, if a variable is declared. I am guessing that ToeBee may be getting at something like that.
Yes I am thinking its a varible from one that is messing up another. They both work fine alone but together only one works correctly. So does anyone know of a way to end the include or am I stuck with trying to alter the scripts?
I believe you will need to rethink some things...🙂 but it is hard to say without seeing the code, or the error message.