Iluvatar+ Posted January 25, 2012 Share Posted January 25, 2012 How do i get var's from a url in cakephp. Example: phpfreaks.com?id=33&name=john I want to bring vars into the current action from the previous action so i can select a corresponding record in a database table. Any idea's? Link to comment https://forums.phpfreaks.com/topic/255764-how-to-get-vars-values-from-the-url-in-cakephp/ Share on other sites More sharing options...
jcombs_31 Posted January 26, 2012 Share Posted January 26, 2012 $this->params['url'] http://book.cakephp.org/1.3/view/963/The-Parameters-Attribute-params Link to comment https://forums.phpfreaks.com/topic/255764-how-to-get-vars-values-from-the-url-in-cakephp/#findComment-1311277 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.