• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search with pagination: POST first, then GET?

#2
[eluser]gon[/eluser]
One thing I wouldn't do is using validation for checking if URL fields are empty.
URI segments are also passed to the action function.
And you can check if they're empty this way:

Code:
function search($arg1 = null, $arg2 = null, $arg3 = null) {
  
   if (is_null($arg1) || is_null($arg2)) {

   }
....
....
....


Messages In This Thread
search with pagination: POST first, then GET? - by El Forum - 04-11-2008, 09:38 AM
search with pagination: POST first, then GET? - by El Forum - 04-11-2008, 11:07 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.