Parse error: syntax error, unexpected $end in C:\AppServ\www\Curso Web\06Aplicac

Closed
Pepej89 Posts 2 Registration date Tuesday August 20, 2019 Status Member Last seen August 21, 2019 - Aug 20, 2019 at 11:52 AM
Pepej89 Posts 2 Registration date Tuesday August 20, 2019 Status Member Last seen August 21, 2019 - Aug 21, 2019 at 10:54 AM
Ya intente de todo este es mi código sin modificar

else
{
//echo "NOOOOO";
$respuesta = "<div class='error'>Error: No se ejecuto la consulta a la Base de Datos</div>";
}

$mysql->close();

return printf($respuesta);
}
?>

Y este modificado

else
{
//echo "NOOOOO";
$respuesta = "<div class='error'>Error: No se ejecuto la consulta a la Base de Datos</div>";
}

$mysql->close();

return printf($respuesta);
}
<?php ?>
<?!

Ayuda
Related:

1 response

Blocked Profile
Aug 20, 2019 at 04:30 PM
This is English only, put looking at your code, the result of BOTH ELSE, are the same. MODIFY your code to have two different results based on the logic!
0
Pepej89 Posts 2 Registration date Tuesday August 20, 2019 Status Member Last seen August 21, 2019
Aug 21, 2019 at 10:54 AM
Buenos días es que el error lo marca en la última línea si viera que al final no es la misma línea
0