How can I insert a $_POST into a input of a HTML form?
In a simple login form, by leaving a field blank, the script retrieves the filled field, keeps it filled, and reports the error of the empty field, so the user does not...
Good evening everyone,
I'd like to know how to open a form whose fields are already filled in with user data (resulting from a search in the database), and it's up to him to only edit the information. I searched the internet and found a way, but...
What I'm doing
I'm pulling data through PHP with a list of cities to create a graph with Javascript, and I realized that it was not returning the data, so I accessed the file that takes the data from the database and does the conversion with...
I know it's possible to "call" the name of a form into a php file. But in a php file, it is possible to "call" a class made in a form to get the same effect of "calling" the name, that is, how to send data from a form to a php file through a cla...
I have a HTML page with a button for admin before you have a popup login and the php of that login to is in another file. And I wanted to know how to do it so that if he accepts the login, he can always go to that button without having to...
I want to concatenate different record values, for example, I have the table below:
| id | value
| 1 | value1 |
| 2 | value2 |
| 3 | value3 |
To show the following result: value1, value2, value3
I'm using PHP + MySQL.
Let's suppose I have a large form, 30 fields containing textareas , radio buttons , checkboxes , select tags , etc.
After the submit of the form, what would be the best way to get these values and then save them...
I have a huge multidimensional array and I need to remove duplicate values with PHP or some function that does this when using CakePHP. Array structure:
Array
(
[0] => Array
(
[Advertencia] => Array
(...
I have a user-level value in my database and would like to be able to modify it in the change. I need to open the page to load the logged in user level:
<div class="form-group">
<label>Nivel de Usuário</label>
<sel...