Posts by rafaelcpalmeida • 179 points
3 posts
-
2
votes1
answer372
viewsA: Create select for a PHP table
You can use a querylike this: SELECT aluno.nome AS 'Nome Aluno', aluno.numero AS 'Numero Aluno', area.nome AS 'Área', COUNT(area.id) AS 'Disciplinas da Área' FROM aluno INNER JOIN classificacao ON…
-
1
votes3
answers529
viewsA: 403 Forbidden when saving data from a form
Try using the function htmlspecialchars: <?php htmlspecialchars($variavel) ?>
-
0
votes2
answers178
viewsA: Absolute ordering by data returned from DB
Try using the following code: SELECT nome FROM fotos_album ORDER BY LENGTH(nome), nome