[eluser]oldrock[/eluser]
Hi..,
i m getting the following error while executing the below code
function get_header()
{
$query=$this->db->query("SELECT description FROM tournament");
if ($query->num_rows() > 0)
{
foreach ($query->result() as $row)
{
echo $row;
}
}
}
A PHP Error was encountered
Severity: 4096
Message: Object of class stdClass could not be converted to string
please help me to solve my problem thanks in advance