Use mysql functions
I need use mysql functions at some model. Ex. i have a table with 3 fields, id (int), date_access (datetime), and checksum (varchar)... but, i need to apply MD5 (mysql) to field checksum when add a new row. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
two views and one method
how i can use two views with a single method of a controller? if(something){ use default view }else{ use another view } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Make a Fotolog (URL Routing effect)
Hi... I need do the same effect of "fotolog" with the URL Ex. www.miurl.com/user and charge user to the controller "profiles" and the action "view". A shortcut of www.miurl.com/profiles/view/user i think: first add a model to the pages controller, make a sql query in display method and comparate the value with the database. But how i can render the method view of profiles controller without redirect? (sorry of my poor english) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---