A newbie in deep need for help
| From: | Ehab El Maraghy | Date: | Fri, 27 Dec 2002 09:17:28 +0000 |
| Subject: | A newbie in deep need for help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24411@lists.php.net to get a copy of this message | ||
Hi everybody
I have installed php4 and mysql on IIs winxp
I am trying to retrieve a password and print it using a query which is written as followos
$query2 = "select passwd from user where username = '$username'";
$result = mysql_result($query2);
echo "<center><B>Old Password was $result </B></center>";
am I using mysql_result right or is there another function to print this password taking in
consideration that it just prints "Old Password was" and that's it