Questions tagged as 'php'

1
answer

PHP can not read variable sent from a POST

I'm doing POST from angular to a file in PHP but the data that is sent is not being recognized in the file PHP , I have already tried several ways but I still can not read the parameter "op" in file PHP . The...
asked by 26.07.2017 / 17:29
1
answer

Variable that never expires

I have developed a page in which the name of the user will be entered once, never again will be returned to this page. On the next page you get information between her the name that was entered on the first page and then stored in a database....
asked by 25.07.2017 / 18:35
1
answer

My login works only the first time (php) and I do not know why

I have a login.php that sends the data to himself and he receives it, the problem is that it only works for me the first time and the second one if he lets it go and I do not understand why. I did it on the same page because when I used two I co...
asked by 26.07.2017 / 15:32
1
answer

Remove the MySQL query markup in PHPStorm?

How can I remove the markup of the MySQL queries in PHPStorm? I'm only interested in syntax highlighting, I do not like it to mark queries with that color. Greetings and thanks for your answers.     
asked by 21.07.2017 / 15:47
1
answer

How to update an id with Ajax

Hello people I have a problem with id I can not update an ID in case there is a message without seeing as well as facebook I want the user id to be updated but it does not work. I hope friends help me HTML: <div id="'.$fila['us...
asked by 22.07.2017 / 03:44
1
answer

Problem when exporting MySQL Database to Excel with PHPExcel

I'm trying to export the table from my mysql database using the PHPExcel library, but it does not generate anything for me. I have this link with which I make the call to the export file: <a href="exportar.php">Descargar tabla</a&g...
asked by 21.07.2017 / 18:08
2
answers

Select rows corresponding to a userid

I am trying to create a query that only selects the data that has the respective userID of my database, but when I send the query the query brings me all the data, I am not very expert in database My query is the following: $query = "SELECT...
asked by 22.07.2017 / 23:11
1
answer

Send a different field to the ID to edit a form

I am starting to program a web application with php and mysql, but I have run into a problem. It turns out that I have a table that shows a series of fields and values of a table. I have added a button to view, edit or delete a row from the tabl...
asked by 22.07.2017 / 07:00
1
answer

Load of CSV Centos 7 PHP problems

Hi, I have a CSV file that contains this configuration: if (isset($_POST['submit'])) { $allowed = array('csv'); $filename = $_FILES['file']['name']; $ext = pathinfo($filename, PATHINFO_EXTENSION); if (!in_array($ext, $allowed)) { $message...
asked by 21.07.2017 / 10:49
1
answer

Reload my AJAX table

I am trying to make a table update automatically, by calling AJAX , for example when I change the range of dates these are sent to a model that executes a function and takes the parameters and performs the query. The problem here is tha...
asked by 20.07.2017 / 19:07