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'));
- No.--Tim Hunt 13:19, 22 June 2011 (WST)