I am building a directory website and I would like to have my URL's in
the following way:

http://www.theskateparkdirectory/browse/(*State*)/(*City*)/

I have set up my routing in the following way:

Router::connect('/browse/(.*)/(.*)/*', array('controller' => 'browse',
'action' => 'index'));

My quest is I wasnt to get the first variable as $state and the second
as $city. How do I do this?

Thanks for the help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to