Page 1 of 1

php login code error

Posted: Tue May 27, 2008 1:15 am
by nitsmooth
Whats the error ?

$login = mysql_query("select * from student_login where (username = '" . $_POST['username'] . “‘) and (password = ‘” . md5($_POST['password']) . “‘)”,$db);

Re: php login code error

Posted: Tue May 27, 2008 1:35 am
by Christopher
What's the error message?

Re: php login code error

Posted: Tue May 27, 2008 2:10 am
by prometheuzz
arborint, since you are a moderator in this forum, perhaps you could move it to a more appropriate section, because this question has little to do with regex.

Cheers,

Bart.