Jump to content

php include statments runs all functions?


calmchess

Recommended Posts

when i use an include statement all my functions seem to get ran.....how do i stop a function from running unless explicitly called such as............................. test(); ////when an include statement  calls a php script from a diffrent php page containing the script i wish to use???

Link to comment
https://forums.phpfreaks.com/topic/58415-php-include-statments-runs-all-functions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.