Hize lo que me dijiste y ahora me da este error
Cita: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT user, pass FROM admin WHERE user='sdf' AND pass=''sdf''' at line 1