Example #1
0
 public static function getAccForId($accid)
 {
     $query = "select * from account where id={$accid}";
     return Mdb::sqlRowQuery($query);
 }
Example #2
0
 public static function getContent($id)
 {
     $query = "select content from expression where id={$id}";
     $res = Mdb::sqlRowQuery($query);
     return $res['content'];
 }