RE: [PHP] Keeping POST values when paging
| From: | Jim McIntyre | Date: | Tue, 08 Jul 2008 21:00:53 +0000 |
| Subject: | RE: [PHP] Keeping POST values when paging | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276466@lists.php.net to get a copy of this message | ||
At 1:32 PM -0400 7/8/08, tedd wrote:
Actually, you don't need to use sessions, post, nor get to pass variables between scripts. Here's an example: http://www.webbytedd.com/bb/tedd/index.php Of course, the smart ones on this list will figure it out pretty quickly.So, this code in the HTML page, at the stage just before the data is sent to the script of my choice, isn't using POST to pass the variable? <form method="post" action="index.php"> [snip] <input type='hidden' name='var2' value='hereWeGo'> [snip] </form> -Jim