I explain the idea and then the situation in which I find myself.
The idea is to upload the image obtained through the html form by calling the php on the server, and then (or depending on how you look at it) obtain the path of the image p...
I wanted to ask about accessing databases using Zend Framework 2.
I am familiar with the use of ServiceManager and how the configuration is done in global.php , Module.php to access the database from the controller.
My...
I have a project on the web and I am trying to save the complete date in the database but it is giving me a strange error, I do not understand what the error is.
Note: Recently everything was going well because in my database in the field w...
If I have an array in php:
$items = array(
"nombtre" => "botella";
"precio" => "1";
"descripccion" = "Botella de cristal"
);
How can I send it to jquery? to use all the index of it?
I have a database ( basedatos ) and a table ( contratos ) with the following fields:
Id
Nombre
Fecha (timestamp)
Vendedor
Telefono
Gestionado
I want to insert in a php page a button that duplicates the record but with the conse...
Good morning,
I'm trying to remove a space with java. The value I get through scraping, for example the value 11 990,00 .
I've tried with:
.replace(" ", "")
.replace("\S", "")
.replace(" ", "z").replace("z",...
I have a problem with the following code to print the contents of a database:
$k = $_POST['key'];
$consulta = 'SELECT * FROM ltr WHERE letter_key= $k';
$ejecutar= $conexion->query($consulta);
while ($row = mysqli_fetch_assoc($ejecutar)) {...
Hi, I am working on a form in php where I have the data of a person and I want to put the date of birth in dd / mm / yyyy format I automatically calculate the age and put it in the age field. Can this be done with javascript?
I have doubts how to interpret this:
$page = (isset($_REQUEST['page']) && !empty($_REQUEST['page']))?$_REQUEST['page']:1;
Do you mean that if page is not declared and it is not empty, it will pick up the page value and otherwise...