Jump to content

function being called from include_once not being called


calmchess

Recommended Posts

I have a main.php file and an include_once php file i'm trying to call a function in the main.php file from the include_once file because i only want the function to run once. problem is test(); function never fires when i load the page....i can get varaiables from the include file so i know i have paths correct...can sombody help me fire the function?

after throwing a test file togeather i've determined that there is something else wrong with the code and stops the include_once from firing the function....disregard this post there is nothing wrong with firing a function from an include file just something wrong with my code.

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.