Calling function from another file
Posted 24 May 2006 - 04:23 PM
I am trying to write often-used code snippets such as add, edit,delete function and place them in
So, whenever I need to use them, I can just call then up and pass parameters to them.
I am able to call a function that is inside the same page it is called.
But, how do I call a function that is in another file.
I've read about the include() function, but it doen't perform what I wanted.
Posted 24 May 2006 - 04:43 PM
Posted 24 May 2006 - 04:44 PM
//will include the function. then just call the function.
//maybe you can post some code
//so we can see why this isn't working.
Posted 25 May 2006 - 05:46 PM
I was messing with the .ini file..don't know whether if this the cause
I am rather stuck in the session object though
going through tutorial as i am writing this..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users