Questions tagged as 'php'

1
answer

PHP Slim3 first steps

Good, I just installed Slim version 3.0 on my local server, I have only one folder vendor where is all your engine ... Some small example of how to start using it, folders, files, it is not necessary to have a database, i...
asked by 01.03.2017 / 11:44
0
answers

How to save data from localstorage to mysql? [closed]

Is there any way to send the data stored in localstorage to a database? (mysql) Example: As we can see in the image we can have many records in the list, and when I give it in store I want it to be stored in my database just now.   ...
asked by 28.02.2017 / 02:50
1
answer

Query of date filter does not give expected result [closed]

My intention is to list a series of products, specifying a range of dates of reservation intention, and filtering the products not yet reserved. $comprobar_reservas_disponibilidad = mysqli_query($con,"SELECT DISTINCT flotaid F...
asked by 24.10.2016 / 08:02
1
answer

Problem with mysqli and php, just save me a data

What happens is that I have the following code in which I keep only 1 record in the database, after that I get "registration error" that I indicate that it would leave in case the data is not saved correctly. The strange thing is that if I delet...
asked by 27.02.2017 / 20:47
0
answers

Dompdf php Codeigniter

Good, once you apply the dompdf, it works perfectly, when it comes to printing customer notes, it makes the page go out, and each page has its heading. My problem is that when a client note exceeds a sheet, the header does not appear there and I...
asked by 25.10.2016 / 15:51
2
answers

Filter by date PHP and MySQL

Good morning to everyone. I am trying to do a Select by filtering only by date in a DB with MySQL, in timestamp column format, where data with this format is inserted ('Y-m-d H: i: s'). The dates I receive from this form: Fil...
asked by 26.10.2016 / 08:15
1
answer

Change the value of input type text in php

I have a value assigned to a variable in php and I show it in a type text. I wish that by clicking on a checkbox I can edit and change that value. 1.- If I click and change the value, when submitting with submit, it shows me the change made....
asked by 26.10.2016 / 14:28
2
answers

Problem when loading image to BD in MySQL

I have a problem with uploading the image to BD MySQL! The process is carried correctly until the image of the user's computer is uploaded to my server, but after that, the statement that is responsible for saving values in the database is not e...
asked by 25.10.2016 / 03:55
3
answers

getdate () can be configured for the time of my pc?

I am trying to implement a clock in php for my project, a clock that contains the date and time of my computer, until now I know something about how the function getdate () of php works and this is what I have: <?php $hoy = getdate();...
asked by 02.11.2016 / 02:02
2
answers

What is missing from the loop to update in all the records that are traversed?

if( isset($_POST['asistotales']) && !empty($_POST['numsesiones']) ) { $asistotales = $_POST['asistotales']; //valores de arreglo recibido $numsesiones = $_POST['numsesiones']; //valor recibido de un input $n4 = count($asist...
asked by 04.11.2016 / 06:12