Menu
Hi,
i have a very simple question. Im trying to have a variable get the same value a defined function produces. For example, if i put somewhere in the code this
[CODE]title();
it will automatically print the title for that page like this
[CODE]Home
Now, i want a variable to have the value that function generates, so something like this:
[code=php]$title = title();
This doesnt seem to work because instead of defining the variable the function is executed. Could anybody please tell me how to do it?
Thank you.