Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Data manipulation API: Difference between revisions

From MoodleDocs
(Created page with "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 edit summary
Line 2: Line 2:


$result = $DB->get_records($table,array('foo' => 'bar AND' , 'jon' => 'doe'));
$result = $DB->get_records($table,array('foo' => 'bar AND' , 'jon' => 'doe'));
: No.--[[User:Tim Hunt|Tim Hunt]] 13:19, 22 June 2011 (WST)

Revision as of 05:19, 22 June 2011

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)