I am trying to write a simple login script, and I am new to PHP.  Here is
what I have so far:


$stmt = $HTTP_POST_VARS['ssn'];
$oerr = OCIError();
$dbconn = OCILogon("user", "pass", "database");
$search = ociparse($dbconn, "select GURMAIL_PIDM from GENERAL_GURMAIL
        where GURMAIL_PIDM = $stmt");


Basically I have an HTML form that links to this page where a user enters
their social security number and this script compares it to a database.  If
its there, redirect to a new page, if not present an error message.

Can anyone help?


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to