Documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v2.0:modules:database [2011/12/14 23:36]
Franz [CRUD queries]
v2.0:modules:database [2011/12/14 23:37] (current)
Franz
Line 71: Line 71:
 $params = array(':​yesterday'​ => time() - 24*60*60); $params = array(':​yesterday'​ => time() - 24*60*60);
  
-$result ​= $query->​run($params);​+$active_forums ​= $query->​run($params);​
 </​code>​ </​code>​
  
Line 92: Line 92:
 $params = array(':​now'​ => time()); $params = array(':​now'​ => time());
  
-$result ​= $query->​run($params);​+$num_inserted ​= $query->​run($params);​
 </​code>​ </​code>​