I have text entered into MySQL, the text is something like: The user's name is $_SESSION[user]
I would like to select this data from the database and actually have the value in $_SESSION[user] populate the variable when it gets output to the screen.
So instead of outputing This user's name is $_SESSION[user], I would like it to output The user's name is treeleaf20
Is there anyway to do this?
Thanks.