Welcome Guest, Not a member yet? Register   Sign In
Pagination.. using multiple segment variables
#6

[eluser]@li[/eluser]
Np. By the way you should still validate the option before putting it inside a query. Something like:

Code:
if ($option !='cherry' && $option !='banana' && $option !='all')
   die('Invalid option given');
else
  $option=mysql_real_escape_string($option);

if ($option=='all')
..............


Messages In This Thread
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 02:28 AM
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 02:50 AM
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 11:46 AM
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 11:48 AM
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 11:58 AM
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 12:08 PM
Pagination.. using multiple segment variables - by El Forum - 10-12-2008, 12:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB