Posts by Guilherme Billig • 36 points
3 posts
-
2
votes1
answer102
viewsA: How to display errors in the production environment?
In PHP you can use the function set_error_handler(), and create your own error handling function: minha_funcao_trata_erros(){ //sua lógica } set_error_handler("minha_funcao_trata_erros"); In this…
-
0
votes3
answers973
viewsA: Subcategories within their respective Category in the menu
Dude in the sub category you need to have the code of the category. And in the SELECT of the sub category you place codigo_categoria = $res_categoria['id'] so you can create a relationship between…
-
0
votes2
answers136
viewsA: Page does not receive and does not register data in Mysql
Cara checks if the connection is open in the file, tries to run the SELECT NOW() command must display the date and time, if not, of an echo of the query ($q) and tries to run directly in your…