This is a discussion on Re: Try to pass variable into a php script within the PHP Language forums, part of the PHP Programming Forums category; I am not sure how you used javascript to submit the form. I usually do like document.form.action = "/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am not sure how you used javascript to submit the form.
I usually do like document.form.action = "/cgi-bin/register.pl" document.form.submit(); return true; besides if your globals are turned off you should be able to get it like <? $see = $_GET['c']; $keyword = $_GET['keyword']; $aid = $_GET['aid']; print("<BR> c : ") . $see; print("<BR> keyword : ") . $keyword; print("<BR> aid : ") . $aid; ?> sanjay "Mike" <b1nt@hotmail.com> wrote in message news:30ffe66c.0308120701.45b86e52@posting.google.c om... > Hi > > I'm passing these variable into ad.php script it takes $c and $keyword > BUT the $aid is NOT set to a value, Is there something I'am doing > wrong. > > <script language='Javascript' > src=http://www.ay-up.com/ad/ad.php?c=show&keyword=defaultad&aid=1></script> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|