My first time using API, so this is probably me being stupid, but I'm getting ...
Notice: Undefined offset: 1 in /home/admin/web/domain.com/public_html/components/com_cobalt/api.php on line 467
I have tried '1' and 1 ...
$api = new CobaltApi();
$data = $api->records(
'1',
'null',
'null',
'null',
'null',
'null',
'null',
'default',
'null',
'null',
'null',
'null'
);
``
foreach($data['list'] AS $item) {
echo $item->url;
}
Any help appreciated.
Dale.
My first time using API, so this is probably me being stupid, but I'm getting ...
Notice: Undefined offset: 1 in /home/admin/web/domain.com/public_html/components/com_cobalt/api.php on line 467
I have tried '1' and 1 ...
$api = new CobaltApi(); $data = $api->records(
'1',
'null',
'null',
'null',
'null',
'null',
'null',
'default',
'null',
'null',
'null',
'null'
);
``
foreach($data['list'] AS $item) {
echo $item->url;
}
Any help appreciated.
Dale.