php - include_once
-
hi, i am trying to include functions from a php review script in my original web layout, to do this i changed my pages from .htlm to .php and i'am using the include_once function to call the script. for some reason when i include the script all code execution halts after it has been callled and focus does not return to the anti-insect.php page so the footer for my site is not shown. im not sure if i need to change a return value for the script or not. this is also preventing me from using multiple include_once to import two or more functions and display them in different area's on my website. this is very frustrating if any one could help me out i would be really happy, i have also included a link to the site that i am testing using the xampp server. http://92.8.199.227/Anti-Insect.php thankyou chris
-
hi, i am trying to include functions from a php review script in my original web layout, to do this i changed my pages from .htlm to .php and i'am using the include_once function to call the script. for some reason when i include the script all code execution halts after it has been callled and focus does not return to the anti-insect.php page so the footer for my site is not shown. im not sure if i need to change a return value for the script or not. this is also preventing me from using multiple include_once to import two or more functions and display them in different area's on my website. this is very frustrating if any one could help me out i would be really happy, i have also included a link to the site that i am testing using the xampp server. http://92.8.199.227/Anti-Insect.php thankyou chris
Hi, First of all, link given by you is not working.. Another thing is include_once can be used once check this php manual page. http://php.net/manual/en/function.include-once.php[^] Either explain your problem in detail or give sample code you are trying... So we can help you properly...
-
hi, i am trying to include functions from a php review script in my original web layout, to do this i changed my pages from .htlm to .php and i'am using the include_once function to call the script. for some reason when i include the script all code execution halts after it has been callled and focus does not return to the anti-insect.php page so the footer for my site is not shown. im not sure if i need to change a return value for the script or not. this is also preventing me from using multiple include_once to import two or more functions and display them in different area's on my website. this is very frustrating if any one could help me out i would be really happy, i have also included a link to the site that i am testing using the xampp server. http://92.8.199.227/Anti-Insect.php thankyou chris