$query->row()->no_antre
Message: Trying to get property ‘no_antre’ of non-object
artinya datanya kosong
solusi:
if (!isset($query->row()->no_antre))
{
$hasil = -1;
}
$query->row()->no_antre
Message: Trying to get property ‘no_antre’ of non-object
artinya datanya kosong
solusi:
if (!isset($query->row()->no_antre))
{
$hasil = -1;
}