Commit 7512dcce authored by Steve Müller's avatar Steve Müller

update code examples

parent 55c60cd4
...@@ -887,10 +887,10 @@ class QueryBuilder ...@@ -887,10 +887,10 @@ class QueryBuilder
* ->insert('users') * ->insert('users')
* ->values( * ->values(
* array( * array(
* 'name' => 'username' * 'name' => '?'
* ) * )
* ) * )
* ->setValue('password', md5('password')); * ->setValue('password', '?');
* </code> * </code>
* *
* @param string $column The column into which the value should be inserted. * @param string $column The column into which the value should be inserted.
...@@ -914,8 +914,8 @@ class QueryBuilder ...@@ -914,8 +914,8 @@ class QueryBuilder
* ->insert('users') * ->insert('users')
* ->values( * ->values(
* array( * array(
* 'name' => 'username', * 'name' => '?',
* 'password' => md5('password') * 'password' => '?'
* ) * )
* ); * );
* </code> * </code>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment