I found the problem actually. My form in my view didn't have the same
name as my model so when trying th match the fields it would'nt find
any matches.
Hope it helps anyone if they find this.
thanks
On Apr 23, 11:59 am, fain182 wrote:
> > Hi I'm new to cakephp and have problems saving my data.
> Hi I'm new to cakephp and have problems saving my data.
>
> When calling Model->save it never saves to the databases with no
> errors.
>
> cake is calling describe on the table but not running any inserts
> after.
>
> I have no validation rules and the save function is returning TRUE. I
> can re
Hi I'm new to cakephp and have problems saving my data.
When calling Model->save it never saves to the databases with no
errors.
cake is calling describe on the table but not running any inserts
after.
I have no validation rules and the save function is returning TRUE. I
can retreive informatio
In the model constructor file model_php5.php
function __construct($id = false, $table = null, $ds = null)
{
.
$this->id = $id;
}
$id is expected to be an integer. However, even in simple queries, an
array is passed to $id, which causes some weird behav