sql >> Base de Datos >  >> RDS >> Mysql

Agregar casillas de verificación seleccionadas a la base de datos-PHP

Intente implementar lo siguiente y, con suerte, verá dónde se encuentra el error. Entonces todos estarán felices de ayudar...

Maneras de lidiar con este problema:

1.Recommended: Declare your variables. Or use isset() to check if they are declared before referencing them.
2.Set a custom error handler for E_NOTICE and redirect the messages away from the standard output (maybe to a log file). set_error_handler('myHandlerForMinorErrors', E_NOTICE | E_STRICT).
3.Disable E_NOTICE from reporting. A quick way to exclude just E_NOTICE is error_reporting( error_reporting() & ~E_NOTICE ).
4.Suppress the error with the @ operator.

Nota:Se recomienda enfáticamente implementar solo el punto 1.