Alex J

  • Registered on: 2012-01-22
  • Last connection: 2014-02-04

Activity

Reported issues: 0

2014-02-04

05:13 PM PHP ActiveRecord Help: RE: ::find(1) not working
As seen on the docs :
SomeModel::exists(123);
SomeModel::exists(array('conditions' => array('id=? and name=?', 12...
05:11 PM PHP ActiveRecord Help: RE: ::find(1) not working
Problem solved, i just use ::exists... as follows : ** I hope this helps someone solve how to check with phpactive...
02:19 PM PHP ActiveRecord Help: ::find(1) not working
Hello,
::find() does not work to find by id, as the documentation says.
see this simple code :
$id = $_GET['i...

2013-04-18

11:07 PM PHP ActiveRecord Help: RE: Problem with fields who does not exists in database
waow your fast!
11:04 PM PHP ActiveRecord Help: RE: RE: Problem with fields who does not exists in database
var_dump(that Media) Copy paste the contents..
thanks
10:02 PM PHP ActiveRecord Help: RE: Problem with fields who does not exists in database
Try this approach:
$file_new_object = new Media();
$file_new_object->media = $_FILES['media'];
06:58 PM PHP ActiveRecord Help: my CRUD ( create) works, but also returns an error
Well i see this error:
["model":"ActiveRecord\Errors":private]=>
NULL
["errors":"ActiveRecord\Errors...

2013-04-08

01:45 PM PHP ActiveRecord Help: RE: RE: How to check the status of query execution
TableModel::rowCount()
or TableModel->rowCount() ?

2012-01-23

03:17 PM PHP ActiveRecord Help: RE: SQLBuilder problem please help!
Ok it works, but it creates an Array. Not an object.
$position_up = 2;
$row = Subjects::find_by_sql("sele...
11:05 AM PHP ActiveRecord Help: RE: SQLBuilder problem please help!
Ok this work ...good news : Problem is solved for now !
$position_up = 2;
$rowdata = Subjects::find_by_position($p...

Also available in: Atom