Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

problem to show data to template

Go to End

2 Posts   1072 Views


Community Member, 193 Posts

21 January 2009 at 12:09am

I can't see my data in tempalte..can you help me?

function Conn()

global $db_pandora;

$record=$db_pandora->query('SELECT * FROM mm_service');


for($i=0; $i<count($rec); $i++)
$id[$i]= $rec[$i]['id'];


return $this->customise($id);



Community Member, 501 Posts

21 January 2009 at 9:02am

I'm not sure what you're trying to do, but in most cases you don't need to do any of this stuff :)