Forwarding a link...
Posted on 2003-03-20
I'm writing a page in PHP that does a search in a DB and displays 10 results by page.
I'm using the POST method to pass through the URL the number of the page to display.
My only problem is that I want to have access to the number of page in the URL, so I create a page
that takes the number of page and forwards to the results.
setTimeout("top.location.href = 'Result.php'",2000);
The thing is that I'd like to pass parameters to the page that is forwarding.
setTimeout("top.location.href = 'Result.php?sql=$SQL'",2000);
Anyone knows how it could be done ??
(BTW, sorry for my bad english !! :D)