Hello for eveybody i have a trouble whit this
$aux=0;
if($resultado=='true'){
echo "<script type='text/javascript'>\n";
echo "alert('$resultado');\n";
echo "</script>";
}
else{
if ($aux==0) {
echo "<script type='text/javascript'>\n";
echo "alert('$resultado');\n";
echo "</script>";
$aux=1;
}
}
if ($resultado = true) its work fine but if ($resultado = false) dont show javascript code
Thanks in advance.