Posts by rafaelmorais • 356 points
3 posts
-
0
votes2
answers91
viewsA: LEFT JOIN with three tables gone wrong
This is because the fields have the same name, I say this at first glance. Try assigning names to fields that have equal names, as follows: SELECT ofertas.id AS oferta_id, ofertas.titulo AS…
phpanswered rafaelmorais 356 -
0
votes4
answers7937
viewsA: How can I increment a day to a Java date?
Something like this should work(I’m not an expert on java): String dt = "2008-01-01"; // A sua data SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Calendar c = Calendar.getInstance();…
-
24
votes1
answer166
viewsA: Why does HTML accept color with random names/strings in the <body> tag?
This is because all the missing characters are interpreted as 0. That is to say, #CC0000 is equal to #CCXXXX, the result will be the same, a red. So if we do this with the word "Earendul" the result…
htmlanswered rafaelmorais 356