Page 2 of 2
Posted: Mon May 31, 2004 2:15 pm
by Paddy
If that doesn't work then change
to
Code: Select all
<?php
if (mysql_num_rows($result) == 0)
?>
Posted: Mon May 31, 2004 2:16 pm
by Paddy
mr-punkstar wrote:$query = "Select memberid from userinfo where username='".$username."' and password='".$password."'";
is the query correct
they supply the username and password, the it checks it, gives meback a member id, the I can take them on to their own screen using that id, but if there is no id, they dont get in yeah?
The select structure is correct. Whether it is correct according to your DB is another story...
Posted: Mon May 31, 2004 2:39 pm
by mr-punkstar
no, that works
lol
ive solved it
thanks neways!