Posts by Filipe • 189 points
12 posts
-
1
votes1
answer109
viewsQ: php cycles with database
I’m having trouble with logic maybe. So here’s the thing: $secao="select distinct seccao from foto"; $manda= mysqli_query($ligacao, $secao); $array_sec=array(); while (($recebe=…
-
0
votes1
answer417
viewsQ: Problem with sending headers
Good people. This question should be the most asked but I’ve tried everything (I think I tried everything) but it still doesn’t give. I have a php file here <?php $ligacao =…
-
0
votes1
answer125
viewsQ: delete record from an sql table
Good people I want to delete a record from a table but for that I need to get information from other tables and because of that I am not able to delete. I basically needed an SQL command that…
-
0
votes1
answer102
viewsQ: store php log id
Good people, my goal is to store the registration id that was entered in the database $sql = "insert into pacientes (Nome, idade, dataNascimento, estadoCivil, nacionalidade, naturalidade, morada,…
-
-1
votes1
answer1577
viewsQ: Check if information already exists in the database
Good people try to help me out here Html part <form method="post" id="formulario" action="dados.php"> <p><label>Nome</label><input type="text" class="nome" name="nome"…
-
2
votes1
answer1161
viewsQ: How to send information from a dynamic form?
I have to make a form in which I will have this table, only instead of being static it will be dynamic, one can enter 1 familiar, 2 ,3 ,4, 10, whatever she wants. That’s what I’m using it for…
-
1
votes0
answers311
viewsQ: html/php form
Good people, I’m making a form only a little unforeseen is happening to me: In some fields the complete information does not appear and I do not know why. For example, the name instead of being…
-
1
votes1
answer808
viewsQ: Onchange with double value
It is possible to take a combobox the values of each option? Something like this: <form action=""> <select name="customers" onchange="Publicidades(this.value, 0)"> <option value=""…
-
1
votes0
answers306
viewsQ: Insert database image
Good friends, I’m having a little problem inserting image in the database function apresenta_formulario() { if (isset($_GET['id_publicidade'])){ $ligacao = mysqli_connect("localhost", "root", "",…
-
8
votes3
answers22485
viewsQ: Pass php variable to javascript
Someone could tell me how to pass a PHP variable to Javascript code. I know there are already many posts about it and I’ve tried to apply only that I must be doing something wrong so I decided to…
-
1
votes1
answer28
viewsQ: Save geojson value
How is it that by making one geojson I could record numbers instead of string. Example: $geojson = array( 'type' => 'FeatureCollection', 'features' => array() ); while( ($registo =…
-
2
votes1
answer2103
viewsQ: Pass javascript array to php using ajax
Good morning, everyone. I’m here with a question in a php/jquery work and I wanted you to help me In a javascript file I have this code here var categorias; var categoria; var array = [];…