ok i have something like this:
<?
...a lot of php code here.... ... print('<SCRIPT LANGUAGE=JAVASCRIPT> if(confirm("blablabla")) var confirm=1; </SCRIPT> ');
and now I want to use $confirm variable in php, but it just does'nt work. WHY?????
because you aren't
and...
I am setting it to 1 when user clics "YES"
I have to use it on this page, without reloading
you are setting confirm to one, not $confirm, if there isn't $ sign, php doesn't know it is a variable