Posts by ghost_lord • 61 points
3 posts
-
0
votes4
answers676
viewsA: How to make a Select from two 1-N tables and return only one record from the second?
Something like that: SELECT * FROM produto p INNER JOIN imagem i ON p.id_produto = i.id_produto GROUP BY p.id_produto
mysqlanswered ghost_lord 61 -
3
votes3
answers149
viewsA: Check two denials in an if expression
The error is in comparing the condition. Actually you have to first check whether the variable teste is null, then make any kind of check. !(teste == null) You have to do this way to check if the…
-
2
votes1
answer435
viewsQ: AJAX request after other AJAX requests
I need to make an AJAX request after any other AJAX request. However, using the method $(document).ajaxComplete(), for example, the request would end in an infinite loop. Is there any easier way to…