php-db | 2002122
Date: 12/27/02
- Next message: Rich Hutchins: "RE: [PHP-DB] A newbie in deep need for help"
- Previous message: Ehab El Maraghy: "[PHP-DB] A newbie in deep need for help"
- Next in thread: janet <email protected>: "Re: [PHP-DB] a newbie in deep need for help"
- Maybe reply: janet <email protected>: "Re: [PHP-DB] a newbie in deep need for help"
- Reply: John Coder: "Re: [PHP-DB] a newbie in deep need for help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Rich Hutchins: "RE: [PHP-DB] A newbie in deep need for help"
- Previous message: Ehab El Maraghy: "[PHP-DB] A newbie in deep need for help"
- Next in thread: janet <email protected>: "Re: [PHP-DB] a newbie in deep need for help"
- Maybe reply: janet <email protected>: "Re: [PHP-DB] a newbie in deep need for help"
- Reply: John Coder: "Re: [PHP-DB] a newbie in deep need for help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

