Questions tagged as 'php'

1
answer

how to update in mysql an array received in php by ajax

I have problems when doing an update in php, I can see each element of the arrangement when I receive it in $ _POST but at the moment of executing the update it does not do anything, I do not know ... if it is an error of syntax or what proble...
asked by 01.10.2018 / 20:02
0
answers

ACF repeater as gallery foreach does not work high

I explain, I have created a custom gallery with images and images from a repeater so that: <?php $gallery = get_field('gallery'); ?> <section class="start0"> <?php if ($gallery) : ?> <div class...
asked by 01.10.2018 / 12:43
0
answers

Treat image in PHP from php: // input

Greetings! I get the image from php://input through a byte array of the client, where I try to get information such as type, dimensions, etc. For this I use the code: $input = file_get_contents('php://input'); $image = imag...
asked by 01.10.2018 / 03:05
0
answers

Help PHPMailer

I reconfigure my question as I solve the first problem Here we have what we receive by POST and AJAX of the form and we put it in the SQL <?php include "../conexion/conexion.php"; mysqli_set_charset($mysqli, "utf8"); $results = 'SE...
asked by 02.10.2018 / 08:35
1
answer

doubts report with library fpdf

Hello friends from the best forum in the world! I try to make a report in pdf of a tutorial of my CRUD USING FPDF, but with negative results, when calling report.php it gives me error 500 and it does not show anything. I HOPE THE HELP OF THE OLI...
asked by 02.10.2018 / 06:44
1
answer

Download PDF function.php wordpress

I have the following code in the wordpress function.php <a class="btn-pdf" href="'.$tipo_catalogo["pdf"]["url"].'">PDF</a> But I opened a tab, since it is a link. How can I download it instead of opening it? (the pdf takes it...
asked by 02.10.2018 / 08:13
1
answer

CodeIgniter does not load session when reloading

I work in an application with CodeIgniter and I have the problem that when I reload the page or call another controller I lose the values of the session variables. I think so: $nuevoUsuario = array( 'usuario' => $this->...
asked by 02.10.2018 / 11:16
0
answers

Retrieve customer data using the API using PHP

I would like to retrieve customer data in a list of orders that I have. Ando something lost in how to recover the detail of each element that forms the XML from the xlink ... The current structure that I have in the XML that returns to me is:...
asked by 30.09.2018 / 21:03
0
answers

"Server Hangup" errors, "502 Bad Gateway", "err_empty_response" after creating a subdomain with xmlapi

The server shows me "Server Hangup", "502 Bad Gateway", "err_empty_response",  these messages after creating a subdomain from php with xmlapi. The information is registered in the database and the subdomain is created perfectly, only then it sho...
asked by 30.09.2018 / 23:06
1
answer

Insert records in mysql table using prepared statements

I attach the code that reads from a table and writes in other certain fields, the theme is that I followed the examples I saw in Stacoverflow ... and it does not work for me, although the recorded record legend appears, it does not record anythi...
asked by 28.09.2018 / 12:33