Posts by Ricardo Fiorani • 101 points
2 posts
-
-5
votes4
answers35413
viewsA: How to check events between 2 dates in Mysql?
You were wrong in the logic I imagine, the right one would be the opposite of the operators: SELECT titulo FROM eventos WHERE inicio >= '2014-02-03' AND fim <= '2014-02-03'…
-
1
votes10
answers29077
viewsA: Scroll through an Array and check if any element is empty
You can use the function in_array of PHP as in the following example: if(in_array(NULL, $variavel)){ /*Tem valor NULL em uma variável*/ }…