Posts by Carolina Perretti Cabral • 49 points
6 posts
-
1
votes2
answers47
viewsQ: Code does not display
I’m making a page that pulls BD information: <?php $conexao = mysqli_connect("localhost","root","") or die("Erro na conexão com banco de dados"); $select_db =…
phpasked Carolina Perretti Cabral 49 -
0
votes1
answer110
viewsQ: Doubt - UPDATE MYSQL with PHP
I need to update in mysql database but I can’t. Basically I’m following the following steps: taken bank variables that are similar to a given CPF and display 2 people The user will click a button to…
-
-1
votes1
answer74
viewsQ: If only returns the first result
Hello, I’m having the problem in the code where my "IF" only returns the first result: if ($aluno['janimal']="1"){ $animal = "Réptil";} elseif($aluno['janimal']="2"){ $animal ="Cavalo";}…
-
0
votes0
answers251
viewsQ: Image does not appear - php
I’m trying to bring the Mysql database image to a PHP page but it doesn’t appear. Follows the code: <!doctype html> <html> <head> <script src="jquery.js"…
-
1
votes1
answer51
viewsQ: PHP page does not identify SELECT result
I’m making a PHP page to show database information, but it does not give error and only returns ":0" on the page, as if no result of the SELECT (only enters the else). Follows the code: <?php…
-
1
votes2
answers66
viewsQ: Query between tables
I need to make a query as follows: select a jovem that is in the same cidade and estado that the mentor and that has the largest number of equal features that of the mentor. My consultation: SELECT…