Stroing info in a variable
| From: | Pusta | Date: | Tue, 09 Apr 2002 03:18:35 +0000 |
| Subject: | Stroing info in a variable | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18335@lists.php.net to get a copy of this message | ||
I am really new at this PHP stuff, so please go easy on me. I am trying to
query the database and then store the result of the query into a variable to
compare to another variable. This is for a login function so for example:
$c1 = ociparse($db, "select ssn from schema.table where ssn = $password");
ociexecute($c1);
my question is how can I store what's in the field ssn into a variable?
Thanks,
Pusta