Talk:Data manipulation API
From MoodleDocs
Don't know the DML functions very well, but there shouldn't be an ' AND' after 'bar', should there?
$result = $DB->get_records($table,array('foo' => 'bar AND' , 'jon' => 'doe'));
| Note:
This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site. |
Don't know the DML functions very well, but there shouldn't be an ' AND' after 'bar', should there?
$result = $DB->get_records($table,array('foo' => 'bar AND' , 'jon' => 'doe'));