Search the Community
Showing results for tags 'record'.
-
Version 0.5 Page 167 Quote: "// Works safely: $model = Page::model()->find('id=:id', array(':id'=>$id));" Larry, What exactly does the colon do? What does the array do? I know they make the query safer, but how? Thanks.
- 1 reply
-
- retrieving
- record
-
(and 2 more)
Tagged with:
-
Version 0.5 Page 126 Quoting from the book: "For example, when updating a post record, the URL is something like http://www.example.com/index.php/post/update/id/23." Where is the file called "post"? I have searched the entire project, using Windows Explorer, and I cannot find it. Also, I've never heard of a "post record". What is that? Thanks.