Questions tagged as 'php'

2
answers

Show Records of a Multi Select PHP

That such a community, I have the following problem and that is that I want to show the saved records of my multiselect but I can not get it if someone helps me would be very helpful <div class="form-group"> <div class="col...
asked by 23.08.2017 / 16:19
0
answers

TCPDF openssl error creating PKCS7 structure warning

I am trying to generate a signed PDF using the TCPDF library My code is as follows: App::import('Vendor','mtcpdf'); $pdf = new MTCPDF('L'); $pdf->SetProtection(array('copy'), '', null, 0, null); $pdf->SetMargins(0, 0, 0, true); $...
asked by 09.08.2017 / 11:30
1
answer

How can I get the data of a query in a PDF file?

Greetings, I am trying to obtain the data generated by a query in the PDF file, I do not know how to do it, that is why I request the help here, I would like the data that the query gives me when I click on the PDF button, open the PDF file w...
asked by 23.08.2017 / 01:36
2
answers

PHP minute counter

PHP timer How to measure the time elapsed since you pressed a button on a form     until he pressed another <?php session_start(); $inicio=date('h i s'); $_SESSION["inicio"] = $inicio; echo $_SESSION["inicio"]; $fin=date('h i s'); $_...
asked by 09.08.2017 / 17:43
0
answers

Receive string data from the Date Range Picker to PHP plugin

I have a Date Range Picker in jQuery , it works well for me, the problem is that I could not manipulate the dates that I select in my PHP , since being JS and being on the client's side, no I capture that data in the in...
asked by 09.08.2017 / 17:23
2
answers

How do I duplicate the records of a table, modifying the data of a column?

I explain: I have a parts table with the fields id, name, dad_id, team_id, status . I capture the data of the parts of the team that I want to copy: $datos_partes = Partes::select(array('nombre', 'id_equipos', 'id_padre', 'status'))...
asked by 10.08.2017 / 09:27
1
answer

Error sending arduino data to my local server

I have a problem to send my sensor data to a local server, I had already tested it with a single sensor and it worked for me, it was the lm35, now that it adds another sensor I can not send the data, in arduino it tells me that everything is cor...
asked by 09.08.2017 / 08:18
1
answer

Query to show only fields that are not empty! [closed]

I have a table with 20 fields which are filled by a for and the amount of data that I tell you to insert. But now I need to show the data of each row, but show me nothing else the fields that have data, so those that are empty do not show them t...
asked by 12.08.2017 / 20:36
1
answer

Failed to restore database copy from PHP

I am doing a database backup / restore system for my project. So far I have been able to back up the database of my systems without problems, but I can not get it restored from the "Restore" section that I have done, and all due to the way the d...
asked by 13.08.2017 / 21:01
1
answer

Asigar Value obtained from a Database to a SELECT

Good attempt to Assign the Value obtained from a query to a Database to a select Query in Database <?php $lsq="SELECT DISTINCT opcion FROM tabla1"; $quer = mysqli_query($con, $lsq); while ($raw=mysqli_f...
asked by 20.08.2017 / 16:09