Bonjour, voilà j'ai une erreure que je n'arrive pas à déceler.
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in C:\UwAmp\www\recup2.php on line 46
Le code est le suivant :
<?php
$bouton = $_POST['send'];
if(!empty($bouton)) {
$total = trim($_POST['total']);
$heure = $total/3600;
$min = $total%3600/60;
$sec = $total%3600%60;
if(!empty(total)) {
echo 'Vous obtenez alors:' $heure ':' $min ':' $sec;
}
else {
echo 'vous n\'avez pas rempli tous
les champs';
}
}
?>
J'espère que vous pourrez m'aider.. :(