hi guys got a quick ??
i have a database with 4 columns: username, real_name, age and sex
the user logs into the site and does an automatic query of his information
i need to display to the user an output report which looks something like this:
Welcome <? $username ?> //username variable comes from login session
Your real name is <? $real_name ?>
Your age is <? $age ?>
etc..
all these variables are from the database query // Select * from users where username = $username
how do i assign the query results to the output variables ? thanks