can i supplement php array pivotal but an indifferent value category variable?
i am now plowing proceed by
at indicate i run dash code:
<?php
class play extends appmodel {
var $name = 'dealer';
var $hasmany = array (
'product' => array(
'classname' => 'product',
'conditions'=>, // allowed?
'order'=>, // same thing here
'foreignkey'=>'dealer_id'
)
);
}
?>
when i run i following error-message: "parse error: syntax error, astonishing ',' /applications/mamp/htdocs/cakephp/app/models/product.php line 7"
i'm n00b during php doubt is: certified an array keys but indifferent values? anybody played around tut know up?
Comments
Post a Comment