[PHP-DB] insert into javascript php

2002-03-22 Thread its me

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


Rehab M.Shouman





-
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
-

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] insert into javascript php

2002-03-22 Thread Marius Ursache



its me a écrit :

 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

 Rehab M.Shouman


maybe is $x = $c ?

you can access that option from php
$HTTP_POST_VARS[name]
$HTTP_GET_VARS[name]



 
 

 -
 Express yourself with a super cool email address from BigMailBox.com.
 Hundreds of choices. It's free!
 http://www.bigmailbox.com
 -

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

--
  Marius Ursache (3563 || 3494)

   \|/  \|/
   '/ ,. \`
   /_| \__/ |_\
  \__U_/



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php