Questions tagged as 'php'

0
answers

Cross-Origin Read Blocking (CORB)

good afternoon. I am developing a system that edits rows of a mysql database. The system I'm doing in PHP and JS (native). Ajax requests to a php and nothing else. The data of the BBDD shows them to me perfectly. The issue is when editing certai...
asked by 05.10.2018 / 21:55
0
answers

mpdf error There was an error loading the PDF document

I'm using mpdf and I have the following problem, using this test code works perfectly for me <?php include_once("mpdf/mpdf.php"); $mpdf = new mPDF('R','A4', 11,'Arial'); $mpdf -> SetTitle('Ejemplo de generación de PDF');...
asked by 05.10.2018 / 23:05
1
answer

Problem when running ajax to php followed by vecez

friend I have a problem running an ajax number of times I ran into the server and the site knocked me down, this could be part of the server or javascript. Ajax is a common ajax, $({ type: "POST", dataType: "Json", data: json, url:...
asked by 05.10.2018 / 23:20
2
answers

Select in codeigniter produces Name? instead of a list of names

I use codeigniter and php, I make a select and in the view instead of leaving a set of records in the Name field, it comes out: Name? > form_search_client.php <!doctype html> <html> <head> <meta charset="UTF-8"&g...
asked by 06.10.2018 / 05:56
0
answers

Warning: mysqli :: __ construct (): (HY000 / 2002)

Hello colleagues, please, if you can help me, give me the following error. Warning: mysqli::__construct(): (HY000/2002): Solo se permite un uso de cada direcci�n de socket (protocolo/direcci�n de red/puerto) in C:\wamp64\www\OnlineVentas\co...
asked by 10.10.2018 / 20:24
1
answer

How to show an Excel with PhpSpreadsheet when loading the information

Currently I'm using the PHPSpreadsheet library to take values from PHP to Excel, what it does now is to take the values to an excel and store them in the address that I specify. but what I'm looking for is that when I upload information, show me...
asked by 10.10.2018 / 19:58
0
answers

I have the following error in codigniter

I have an error, I'm calling data from the database to show them in two dropdown, first I get the data I have in the table, with the second I wanted to do the same as the first one and it gave me the following error Severity: Notice Message:...
asked by 10.10.2018 / 20:15
0
answers

How to save a record with a form in a modal with related tables in Laravel?

I'm trying to save a record in a modal. But in that record there is a relationship. I have a code that supposedly mind does. When I register the information, I do not get an error, but it does not save my record. The function is as follows: i...
asked by 10.10.2018 / 18:53
1
answer

SUBMITTING FORM DATA TO SEVERAL TABLES

someone to help with the scrip php to be able to insert the data to mysql of my form to several related tables <!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8" /> <meta http-equiv="X-...
asked by 10.10.2018 / 18:44
2
answers

How do I modify the php so that it appears in a single line when there is a condition?

I am modifying the code because it looks bad. It's a login. I want you to appear Have you forgotten your password? | Check in Thus in a single line. Currently appears in 3: Have you forgotten your password? | Register Css: .u...
asked by 04.10.2018 / 00:06