Welcome Guest, Not a member yet? Register   Sign In
Form Value to URL
#5

[eluser]tokyotech[/eluser]
[quote author="pistolPete" date="1252195486"]I'd rather use this:

Code:
Color extends Controller
{
   public function search($size, $colour, $txtr)
   {
      printf('you entered %s %s %s', $size, $colour, $txtr);
   }
}

User guide[/quote]

So this puts the URI segements into the parameters? Interesting. I never knew that! Definitely more traditional style programming and easier for other people to read your code.


Messages In This Thread
Form Value to URL - by El Forum - 09-05-2009, 12:40 PM
Form Value to URL - by El Forum - 09-05-2009, 01:01 PM
Form Value to URL - by El Forum - 09-05-2009, 01:04 PM
Form Value to URL - by El Forum - 09-05-2009, 01:26 PM
Form Value to URL - by El Forum - 09-05-2009, 01:56 PM
Form Value to URL - by El Forum - 09-05-2009, 02:00 PM
Form Value to URL - by El Forum - 09-05-2009, 02:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB