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; b1nt@hotmail.com (Mike) wrote in message news:<30ffe66c.0308120701.45b86e52@posting.google. com>... > > I'm ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
b1nt@hotmail.com (Mike) wrote in message
news:<30ffe66c.0308120701.45b86e52@posting.google. com>... > > 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> Of course. You are trying to execute a server-side script on the client side. Try this instead: readfile ('http://www.ay-up.com/ad/ad.php?c=show&keyword=defaultad&aid=1'); Cheers, NC |