PHP cannot recognise javascript variables because javascript is 
interpreted via the browser, and not the server (which php is). for php 
to use javascript variables, you must post the variable to another page 
using either a form or querystring.


> <script>
> c=document.forms[0].category.options[document.forms[0].category.selectedIndex]
> .text
> <?php
> $x=c;
> ?>
> </script>
> but the php doesn't understand this c variable

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to