argh! hotmail sucks
I don't see in the script where you are using $_POST / $_GET / $_REQUEST to
access tha data from the form. Its likely that the example you are following is
old and uses 'register_globals'. Since register_globals is a huge security hole
and is not active in any new installat
Hi,
$result = mysql_query("SELECT * FROM tablename WHERE
userName='$userName' AND password = '$password'");
if($rec = mysql_fetch_array($result)){
//your code
}
Try like this it may solve. It may solve your problem
Don't try to fetch the result from one single line code.
Warm Regards,
Sa
On 9/16/07, Chris Carter <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Its just a login and password validation that I am trying to achieve. If the
> username is correct then the person is able to view certain page, if
> incorrect then he is directed elsewhere.
>
> $userid=mysql_real_escape_string($useri
3 matches
Mail list logo