Hi,
I am trying to generate a user profile page that includes the name of the user in the title.
I created a header file that includes <title>$page _title.
i then included that header file at the top of the profile page.
the problem is that $page_title is only defined further down the script when the mysql query is executed and the name of the user is pulled from the database.
i therefore get a notice of undefined variable.
i suppose what i'm generally asking is whether it is possible to use a variable and assign a value to it further down the script?
thanks..