Questions tagged as 'php'

0
answers

Error calling a stored procedure (MariaDB) with parameter in Laravel 5.6

I have not managed to execute a stored procedure with parameter. Specifically I get this error: "SQLSTATE [42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB...
asked by 04.10.2018 / 21:18
2
answers

Does not return the AJAX response

Good I have a registration form in which they fill in the data and through AJAX I insert the data in the database. Until then it worked perfectly and I returned a response in notification mode with TOAST. But when putting in the file that als...
asked by 04.10.2018 / 07:00
0
answers

Send html form to SQL [closed]

Can someone explain to me why an HTML form does not reach the database? I mean, I fill in the fields and when he sent me he appears    "Data saved correctly" And I will update but nothing comes. I've tried with different data and it's...
asked by 04.10.2018 / 21:23
2
answers

Read BLOB file of the bbdd

The point is that I have inserted a file of type BLOB in a field of my table, inside a bbdd in local. To read the file, using PDO, I created a file that creates the connection to my database and another file that is responsible for reading th...
asked by 29.08.2018 / 14:41
1
answer

Create a session in custom Prestashop file

Is it possible to create a session from a custom prestashop file? I have restricted from the frontController browsing the store if a user does not have a session. if (!$this->context->customer->isLogged() && $this->php_sel...
asked by 29.08.2018 / 14:22
0
answers

PHP does not pick up HTML variables [closed]

I've just been introducing myself to the world of web development and I've been following several tutorials. In this I find myself making a form to send an emial through a server (which in principle I have configured). Does anyone know tha...
asked by 29.08.2018 / 11:56
1
answer

Implement system remind me

I am doing a web application and I would like to know what is the best way to implement a "Remember Me" or "Remember my data" system. In other words, I want the user to be able to mark a "Remember me" box when logging in, and I do not have to...
asked by 04.09.2018 / 11:24
2
answers

Print consecutive rows of the same column mysqli

I tried printing two consecutive rows of the same column with MySQLi, but I only print the same value. $result = $link->query("SELECT id_papers, name, pen FROM Papers, Pens WHERE id_papers = id_pen_papers"); // la consulta no es exactamente...
asked by 04.09.2018 / 12:50
1
answer

Error Class App \ Repositories \ Messages does not exist

I am trying to create a repository for my queries but it tells me that the class does not exist. I show you the code snippets to see if anyone knows what the error is: MessagesControler.php <?php namespace App\Http\Controllers; use...
asked by 27.08.2018 / 06:04
0
answers

How to show a GIF while loading my HTML page

What happens is that I have a html page, in which I am uploading information (in graphics-highcharts) that I bring from my mysql, which I distribute in a table (), but it turns out that as it is enough information the page It is loading for a fe...
asked by 24.08.2018 / 21:10