cannot get ibm tutorial part 2 var belongto work ! anyone done this tutoral before ??

2008-08-30 Thread [EMAIL PROTECTED]
Parse error: syntax error, unexpected ',' ip\models\dealer.php on line 7 ?php class Product extends AppModel { var $name = 'Product'; var $belongsTo = array ( 'Dealer' = array( 'className' = 'Dealer', 'foreignKey'='dealer_id' ) ); } ? --~--~-~--~~~---~--~~ You

Re: cannot get ibm tutorial part 2 var belongto work ! anyone done this tutoral before ??

2008-08-30 Thread Rafael Bandeira aka rafaelbandeira3
?php class Product extends AppModel { var $name = 'Product'; var $belongsTo = array ( 'Dealer' = array( 'className' = 'Dealer', 'foreignKey'='dealer_id' ) );} are you sure your code is just it? --~--~-~--~~~---~--~~ You received this message because you

Re: cannot get ibm tutorial part 2 var belongto work ! anyone done this tutoral before ??

2008-08-30 Thread fourcs
On Aug 31, 12:30 am, Rafael Bandeira aka rafaelbandeira3 [EMAIL PROTECTED] wrote: ?php class Product extends AppModel { var $name = 'Product'; var $belongsTo = array ( 'Dealer' = array( 'className' = 'Dealer', 'foreignKey'='dealer_id' ) );} are you sure your code is just