afficher_livraison(&$livraison);
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionWarning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in pageprincipal.php
//page_principale session_start; echo print_r[$_SESSION]; afficher_livraison($livraison); //fonctions.php $_SESSION['prix_general']=$livraison+$_SESSION['prix_total']; echo 'livraison ='; echo $livraison ; echo ' prix total ='; echo $_SESSION['prix_total']; echo ' prix general ='; echo $_SESSION['prix_general'];