Posting variables between frames
Posted: Wed May 14, 2008 3:25 pm
Hello ppl..
Excuse me if such a topic has been posted earlier. Here is my problem. I have 3 pages, one.php, two.php, three.php. I am taking a variable called keyword in one.php using a form. I have called the variable using $_GET['keyword'] in two.php page and wrote some sql queries based on that word.
As soon as I submit the one.php page, I need to send the keyword to a function search( ) in three.php also. But this three.php page is in a different frame where as one.php and two.php are in the same frame. So, Im having trouble passing the variable to this three.php page
I tried using sessions and I was unsuccessful at that. May be thats because I am new to all this PHP
Even if I were able to pass the variable, how could I just make the function search( ) to work as soon as I submit the variable ?
Any help would be deeply appreciated. Thanks in advance
Excuse me if such a topic has been posted earlier. Here is my problem. I have 3 pages, one.php, two.php, three.php. I am taking a variable called keyword in one.php using a form. I have called the variable using $_GET['keyword'] in two.php page and wrote some sql queries based on that word.
As soon as I submit the one.php page, I need to send the keyword to a function search( ) in three.php also. But this three.php page is in a different frame where as one.php and two.php are in the same frame. So, Im having trouble passing the variable to this three.php page
I tried using sessions and I was unsuccessful at that. May be thats because I am new to all this PHP
Even if I were able to pass the variable, how could I just make the function search( ) to work as soon as I submit the variable ?
Any help would be deeply appreciated. Thanks in advance