21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 593 Views |
-
problem to show data to template

21 January 2009 at 12:09am
Hi!
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');
$rec=array();
$id=array();
while($rec[]=$record->nextRecord())
{
}for($i=0; $i<count($rec); $i++)
{
$id[$i]= $rec[$i]['id'];}
while($id[]=$record->nextRecord())
{
}
return $this->customise($id);}
-
Re: problem to show data to template

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
| 593 Views | ||
|
Page:
1
|
Go to Top |


