Re[2]: Database search logic question

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

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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