PHPDiscussion related to PHP web development, PHP coding. Tutorials, source code, tips and tricks related to PHP programming.
The thread "Problem with Include...neverending loop" has not received any replies for a month. It has been automatically closed as a result. You may start a new thread on the topic if the information in this thread is not sufficient.
New to PHP...experimenting around with different methods and i've run into this problem where I use an IF statement....the code looks like this:PHP:---------if($info == 'contact'){echo include('contact.php');}---------Now, when the 'if' statement is 'true', then it brings in the page called Contact.php...the problem i'm having is it keeps bringing it in..over and over and over...it's a never ending cycle...what's the proper way to include contact.php one time and then break out of the if statement?
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts.
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
The thread "Problem with Include...neverending loop" has not received any replies for a month. It has been automatically closed as a result. You may start a new thread on the topic if the information in this thread is not sufficient.