php-db | 2001051
Date: 05/02/01
- Next message: Larry Rivera: "RE: [PHP-DB] How to autoincrement an autoincrementing field (MySQL)?"
- Previous message: Alan Hale: "[PHP-DB] How to autoincrement an autoincrementing field (MySQL)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
All:
I am new to PHP and was hoping for some input to what is probably an 'easy'
question.
The following SQL statement returns 1 row:
$sql = "SELECT id, real_name FROM authorization WHERE username='$username'
and password='$password'";
All I want to do is assign the results of the field real_name to a variable
called $salesperson, but I cannot seem to get it to work.
Thanks inadvance for your help,
Randy Rankin
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Larry Rivera: "RE: [PHP-DB] How to autoincrement an autoincrementing field (MySQL)?"
- Previous message: Alan Hale: "[PHP-DB] How to autoincrement an autoincrementing field (MySQL)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

