Posts by Rone Sigismundo • 43 points
2 posts
-
0
votes2
answers941
viewsA: how to get bank value in an if using php
If I understand correctly, you can do it like this: $sql = mysql_query("SELECT categoria FROM usuario WHERE id = 'meuUser'"); $result = mysql_fetch_assoc($sql); if ($result["categoria"] == "true"){…
-
4
votes1
answer297
viewsQ: Select by group
Good morning guys, I would like to know how to do the following SELECT in mysql: Having the following table, I need to select the last 3 purchases of each Name: From now on, thank you…