Re: Re: Passing variable to a page in a frameset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> GET should work too. Do you know of any examples anywhere online for this?
>> My brain shuts off at the thought of how I'd do that.
>>
>> - jody
>
>
When you GET a value you are retrieving a passed value that appears in the
address bar:
Example

http://www.mysite.com?name=joe

www.mysite.com is the website

?name=joe is the value being passed by GET

To put this value into a PHP variable you would simply do:
<?php
$name = $_GET['name'];
?> <http://www.google.com/search?hl=en&q=encrypt+javascript>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux