04-19-2009, 11:24 AM
|
#3 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
@up- Better for the query part is to use it like this:
PHP Code:
$result= mysql_query("SELECT `fname` FROM `student_reg` WHERE `username` = '" . $username . "'");
@topicstarter- Please use php code tags [php] and also you don't have to post it on 3 places.
__________________
|
|
|
|