mira lo q me lanza...
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 '"'..'\''' at line 1
el error esta aqui.. pero no se si sera la variable..
Código PHP:
$result = mysql_query("SELECT pass, user FROM registro WHERE user=\"'.$user.'\'") or die( mysql_error() );