Giacomo P.

  • Registered on: 2010-07-05
  • Last connection: 2013-01-09

Activity

Reported issues: 0

2013-01-09

03:03 PM PHP ActiveRecord General: Php-ar and CakePHP
Does someone used php-ar with cakePhp?
I would like to start a project with both solution because I really like php...

2010-12-31

05:16 AM PHP ActiveRecord Help: RE: Connection parameters
This is not what I was looking for but thank you anyway.

2010-12-30

11:14 AM PHP ActiveRecord Help: Connection parameters
Hi all,
Maybe this is a PHP issue but I need to make the connection string be parametric.
This is how (usually) th...

2010-12-16

03:48 PM PHP ActiveRecord Help: add a column in a join
Hi all,
It is quite complex to explain what I need and why ... but I will try...
I have a JOIN between 2 tables "A"...

2010-11-13

04:58 AM PHP ActiveRecord Help: RE: JSON encoding
I'm back ...
The example shows how to work with only one results, but I need to encode to JSON an array of results.
...

2010-10-16

09:48 AM PHP ActiveRecord Help: JSON encoding
Hi all,
I need to create a JSON encoded string of the results of a query, is there an example on how to do this?
...

2010-09-14

03:59 PM PHP ActiveRecord Help: RE: Add "DISTINCT" to finder
I found a trick using "GROUP BY" instead of "ORDER BY" but maybe someone need an answer to the question too :)
03:52 PM PHP ActiveRecord Help: Add "DISTINCT" to finder
Hi all,
I'm using PHP 5.3 + mySQL 5.1.31 and I'm looking for how to add a "DISTINCT" to a finder, I would get this...

2010-07-31

05:25 AM PHP ActiveRecord Help: Last inserted id
Hi all,
After a save() function in a table with an auto-increment pk, I would like to know which is the id just inse...

2010-07-28

03:49 PM PHP ActiveRecord Help: andling multiple finder results
How can I handle multiple finder results?
Can I do something like this?
$user = User::find(...)
echo $user[0]->n...

Also available in: Atom