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

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?