G regardé dans le forum pour transmettre une variable javascript en php mais g pa trop compris! g regardé le lien sur dev.nexen.net mais g rien compris!!!! g mi un echo mais ca change rien! je cherche a transmettre la variable javascript total dans une nouvelle page php!! merci beaucoup
<?
echo"<script>
function calcul(f1)
{
var total
var nb
total=0
nb=0
nb=f1.t1a.value;
if (f1.t1 && nb!=null) total += 10*nb ;
f1.t1.value= total + "?";
}
function redirection()
{
window.open("
http://saad/pizza/recap.php?tot=$total");
}
";