note 48769 rejected from function.odbc-exec by nlopess
| From: | nlopess@php.net | Date: | Thu, 06 Jan 2005 20:31:16 +0000 |
| Subject: | note 48769 rejected from function.odbc-exec by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82868@lists.php.net to get a copy of this message | ||
Note Submitter: martin_tillbrook at hotmail dot com
----
I am stuck!!!! Please help!!
$cur= odbc_exec( $cnx, "SELECT username, password FROM People WHERE
username='$user_name' AND password='$password'" );
when $user_name and $password are fields taken from the previous form on an html page.
For some reason i cant get php to recognise these as variables in this command.
what am i doing wrong??