Hi,
I'm getting this error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/albshke/public_html/BIBLIOTEKA/libraria/tables/books/books.php on line 61
Code in /.../tables/books/books.php:
//Iterate through all the rows
$record = new Dataface_Record('books', array());
$record->setValues($defaultValues);
if ( !$row->getCell(0)->getValue() ) continue;
echo "Date: ".$row->getCell(4)->getValue();
$record->setValues(
array(
'title'=>$row->getCell(0)->getValue(),
'author_or_editor'=>$row->getCell(1)->getValue().', '.$row->getCell(2)->getValue(),
'publisher'=>$row->getCell(3)->getValue(),
'copyright_year'=>$row->getCell(4)->getValue(),
'media'=>explode(',',$row->getCell(7)->getValue()),
'reference_no'=>$row->getCell(8)->getValue(),
'notes'=>$row->getCell(9)->getValue(),
'audience'=>$audience
)
);
Line 61:
if ( !$row->getCell(0)->getValue() ) continue;
I'm using:
Apache version 1.3.37 (Unix)
PERL version 5.8.7
PHP version 4.4.4
MySQL version 4.1.21-standard
I dont know why I'm getting this error, and how to fix it. Anyone who can halp me?