Newbie MySQL Statement Question

admin

Administrator
Staff member
Hi

Can any1 hell me whats wrong with this:

$sql="SELECT * FROM user WHERE username='$username' AND password='". md5($password) ."' AND usergroupid='5' or '6' or '7' or '8'";

thanx

Jonathan
 
Back
Top