he puesto esto :
Código Javascript
:
Ver originalrules:{
email_user:{
email:true,
required:true,
remote:{
url: "validacion_usuario_user.php",
type: "post",
cache: false,
data: {
tienda: " <?php echo $tienda; ?>"
}
}
},
y en la pagina validacion_usuario_user.php
Código PHP:
Ver original<?php
$formusuario_user=$_GET['email_user'];
$tienda=$_POST['tienda'];
// Si entramos es que todo se ha realizado correctamente
$conexion = mysql_connect("$hostname_blueberryswebtiendas","$username_blueberryswebtiendas","$password_blueberryswebtiendas");
$sql="SELECT * from usuario_user where email_user='$formusuario_user' AND tienda = '$tienda'";
echo "false";
}else{
echo "true";
}
?>
pero no me funciona