$error=$_GET['error'];if ($error==1){ $estado= 'error al ingresar'; }
$estado=$_GET['error']==1?'error al ingresar';'';