Código PHP:
$warnings = mysqli_get_warnings($resource);
do {
$msjinterno.="Warning: $warnings->errno: $warnings->message\n";
}while ($warnings->next());
Notice: Trying to get property of non-object in \INCLUDES\db_class.php on line 525
Notice: Trying to get property of non-object in \INCLUDES\db_class.php on line 525
Fatal error: Call to a member function next() on a non-object in \INCLUDES\db_class.php on line 526
La linea 525 es la primera y la 526 es la segunda, cual es mi error, Como debo armar esto?
Saludos y gracias de antemano