tribal
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by tribal
-
-
one more question, so if i want to display real name for example after doing the query, i would do this?
$real_name = $info[\'real_name\']
echo \"your real name is:\" $real_name;
-
great! ill try that, thank you!
-
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
date format question
in MySQL Help
Posted
hi, i got a DB field that is a DATETIME format and is automatically entered when a user registers. how do i change format from 2003-10-22 10:05:06
to something like 10/22/2003 10:05 ??
can i modify the existing mysql format?