Posts by Gustavo Martins • 51 points
2 posts
-
2
votes2
answers149
viewsQ: Condition in PHP "if" to know if the sent Mysql command worked or not
I’d like to know what condition to put inside the if using PHP with Mysql database so it is possible to know if the command returned an error or not. As seen in the code below, I want to delete a…
-
1
votes2
answers45
viewsQ: How to split a string in Mysql?
My Mysql database contains a table t_usuario with a column nome, where there is a record with the name Gustavo Henrique Almeida Martins. How can I make a SELECT to return only the name Gustavo?…
mysqlasked Gustavo Martins 51