[eluser]RJ[/eluser]
Hello,
I'm receiving a PHP error:
Quote:Non-abstract method Dealer_model::on_screen() must contain body in W:\www\s\system\application\models\dealer_model.php on line 84
Here is my Method:
Code:
#--------------------------------------------------------------------------
# METHOD: On-screen display of array contents
#--------------------------------------------------------------------------
function on_screen($var);
{
// on-screen display
print ('<xmp>');
print_r($var);
print ('</xmp>');
return;
}
I've combed the user guide plus forum, read an article on abstraction to better understand; can't figure out what "body" is for this non-abstract method.
Thank you