• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URl

#3
And this is not normal?

You can put something like

PHP Code:
public function article ($param_one$param_two NULL)
{
 
 if(!is_null($param_two))
 
 {
 
   //do whatever redirect you want
 
 }
 
 // else do what you need to do


Or you can simply find out if the number of parameters are bigger than what you need with func_num_args().
Reply


Messages In This Thread
URl - by amit363 - 03-23-2015, 10:38 PM
RE: URl - by ciadmin - 03-23-2015, 11:33 PM
RE: URl - by Avenirer - 03-24-2015, 04:02 AM
RE: URl - by CroNiX - 03-24-2015, 07:54 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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