Questions tagged as 'php'

1
answer

How to move from a values of a HIGHCHARTS graphic to a new page

this is my index.php code <?php include("conexion.php"); $region[0]="CENTRO"; $region[1]="LIMA"; $region[2]="SUR"; $tipo_alarma[0]="Energía"; $tipo_alarma[1]="Telecom"; $estado[0]="En Curso"; $estado[1]="Pendiente"; $estado...
asked by 03.08.2018 / 17:34
0
answers

Problem with group by in mysql and slowness in the query

I have the following situation with a MYSQL query. What happens to me is that I have two tables, that I'm joining by LEFT JOIN to bring all the records that are in the first table that is table3 . In the second table pay_amb where the...
asked by 10.09.2018 / 17:10
0
answers

Help with UPDATE IN MySQL

Hello friends, good evening, I have problems with my code and I can make it work, but I can not change the record in the database. <?php require_once('Connections/clientes.php'); ?> <?php function GetSQLValueString($theValue, $theType...
asked by 11.09.2018 / 06:29
1
answer

Problem with tcpdf - Import an image

I am creating a pdf from html require_once('tcpdf/tcpdf.php'); ..... $content .='img src="/img.png" width="50" height="50">' $obj_pdf->writeHTML($content,true, 0, true, 0); $obj_pdf->Output('sample.pdf', 'I'); But this error...
asked by 09.08.2018 / 21:31
0
answers

Help with Frappe grantt

Hi, I'm doing a gantt with js, I'm using frappe gantt, but at the moment of performing the function to generate it I get this error the text you see arriva is console.log (tasks). Here is a sample of my js: /*Llamar generacion de g...
asked by 08.09.2018 / 01:19
1
answer

I can not connect to the MySQL database with Slim

I'm doing a test and I want to connect to the database Tarea2 and show the table EMPLEADO but I can not connect. My user is root , for simplicity of the task I do not have passwords This is my code. $app->get('/EMP...
asked by 09.08.2018 / 21:27
0
answers

Update SQL table with Excel document

This problem I found it many times, and I think to do a project that solves this in the most modular and clean ways possible (but I think the first thing is that it can be xD) I want to perimero update the table "names", this table has the va...
asked by 09.08.2018 / 20:34
1
answer

Insert a date value with PHP in MySQL

I would like to introduce MySQL information through a PHP form with your date of birth. The problem is that no matter how hard I try it in the DB, the 0000-00-00 value is introduced. If I write the date directly on the Insert there is no problem...
asked by 08.12.2018 / 08:42
0
answers

URL mapped does not allow ajax to find the resource

Help, I have a file structure in mvc for php, and everything that is written in the url goes through the public / index.php folder. which accesses the folder app / iniciador.php which loads the classes with the views, drivers and models. The...
asked by 05.12.2018 / 15:23
2
answers

Create query with value of a Select

In advance, thanks for your help. I am trying to make a form in which, when selecting an option in a combobox, take the selected value and can put together a query to insert a value into an input text. I'm stuck on how to put the value of the...
asked by 06.12.2018 / 02:03