One possible way to do this is, when submitting a form, set a hidden variable to the value using javascript. Example:
<script> function setVars( theForm ) { theForm.jsvar.value = 'somevalue'; theForm.submit(); } </script> ... <form> <input type="hidden" name="jsvar"> <input type="button" name="btnSubmit" value="Submit" onClick="javascript: setVars(this.form);"> </form> This is just a suggestion. -- Nicole Amashta Web Application Development "Wayne Hinch" <[EMAIL PROTECTED]> wrote in message 000001c1da71$79967e30$0300a8c0@gromit">news:000001c1da71$79967e30$0300a8c0@gromit... > Hi all, > > Does anyone know if it is possible to pass variables from JavaScript to > PHP? > > Any help will be much appreciated > > Many Thanks > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php