list() question

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 1, 2010   (RSS)

By zip222 - December 1, 2010

when you generate a list() viewer, there is something I don't quite understand. in the example below I have bolded a few Ss. I am curious why these are here:

// load records
list($newsRecords, $newsMetaData) = getRecords(array(
'tableName' => 'news',
'limit' => '1',
));
$newsRecord = @$newsRecords[0]; // get first record


There have been times where I have accidentally removed these, but the pages still loaded properly.