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? Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.