OK, let's improve some things.
1. First, edit your php file :
Check if $email already exists in your database, else if $email don't exists, echo " 0".
If $email exists, check if $senha = " SELECT senha FROM login WHERE email='$email' "
In php fie,
$Separator =";";
$Exist = "SELECT count(*) FROM login WHERE email='$email'";
if ($Exist ==1)
{
if (" SELECT senha FROM login WHERE email='$email'" == $senha){
$id = " SELECT id FROM login WHERE email='$email'" ;
$nome = " SELECT nome FROM login WHERE id='$id'" ;
$sexo = " SELECT sexo FROM login WHERE id='$id'";
$score = " SELECT score FROM login WHERE id='$id'" ;
echo $nome. $separator . $sexo.$separator.$score
};
else if (" SELECT senha FROM login WHERE email='$email'" != $senha){
echo "Error";
}
}
else if($Exist ==0){
echo "0";
}
[/code:eo015rhs]
Now use this events in your Construct 2 app :
[img="http://enjoycss.com/bg-img/custom/22725-yvrjal.PNG"]