Jump to content

Calling a php functino from within another function


Darkmatter5

Recommended Posts

I have one file I include with all my functions, but there is a function in which I need to call another function from within.  Meaning, I have a function that gets the sessions username from the current running sessions id.  I need to echo the output of my current_user() function in my login_tool() function.  How would I go about calling current_user() inside login_tool()?  I'm not including the code as I think I just need to know the syntax.

 

Thanks

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.