Posts by Tywin • 63 points
2 posts
-
2
votes2
answers848
viewsA: Query filter php mysql
The or should be enclosed in parentheses so that it is isolated from the other instructions: select * from produtos inner join empresas on uid = empresa where empresa = '$filtro' and (produto like…
-
3
votes1
answer1340
viewsQ: Remove Accents - [ p{Incombiningdiacriticalmarks}] vs [ p{ASCII}]
I created a code in Java to remove accents as the following: private String removerAcentos(String texto) { texto = Normalizer.normalize(texto, Normalizer.Form.NFD); texto =…