I´m trying to connect to a table but I only get a white page, am I doing something wrong?
$this->import('myDB');
$result = $this->Database->prepare("SELECT * FROM partnerpool")->execute();
echo $result->numRows;
echo $result->id;
while($result->next())
{
echo $result->id;
}
Description: http://de.contaowiki.org/Datenbank_Klasse_verwenden