Re[2]: [PHP] Database search logic question
| From: | Richard Davey | Date: | Mon, 15 Nov 2004 19:12:50 +0000 |
| Subject: | Re[2]: [PHP] Database search logic question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202074@lists.php.net to get a copy of this message | ||
Hello Stuart,
Monday, November 15, 2004, 6:27:18 PM, you wrote:
SF> In $_POST there is nothing in the URL , there is no ?.
Technically, there can be. You can post a form to x.php?foo=bar and it
will populate both the POST and GET super-globals.
>> > I'm wondering at this point if I should
>> > create a way to let users save their search
>> > parameters, by grabbing the variables and storing
>> them
>> > as an array in the database or go back to the URL
>> > method.
SF> They are not similar but will accomplish the same
SF> goal.
Given than URLs change over time, surely it would make sense to save
the actual search parameters instead, so then you could re-build the
search even if the URL of it changed.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde