Questions tagged as 'php'

1
answer

How to get the value of a variable in a php and use the variable in SQL statement in another php

I have an application (Android) where one does the Login and if the user and password is not in the Database you do not enter. Then here you go to fragment where I charge a recyclerview with names of people and the problem is that...
asked by 16.08.2017 / 20:46
1
answer

Search data in the drop-down list from a text field

How can you get a text field to search for a data that is in a drop-down list and that it automatically searches for the requested data from the text field? . I found an example in Javascript very interesting, but when I called the text fi...
asked by 09.11.2017 / 20:09
3
answers

problem to send form by ajax

[! [enter the description of the image here] [2]] [2] I am trying to send a form via ajax, to prevent the page from refreshing: function form(){ $.ajax({ type: 'POST', url: 'formulario.php', data: $('#for...
asked by 11.07.2017 / 16:05
2
answers

Check differences of two array in PHP

I'm trying to check the difference of two arrays to insert or delete data in MySQL but the code I have fails a lot and the same is another way to make it more appropriate, but I do not know it. The code of the comparator and the function to e...
asked by 05.05.2017 / 11:26
4
answers

Problem with php in header with form

I wanted to know if someone could give me a hand with this form that basically when you do not enter the required fields it refreshes in the same html. The subject that I always get this error    Warning: Can not modify header information - h...
asked by 14.09.2016 / 15:21
2
answers

problem to publish a value in an input t = text with an ID

I have a question. I searched the web but, I could not find how it is done. I'm seeing a system already created, but I want to modify some things. I have an Ingreso.php page with a code that brings me the values of the database. $siniest...
asked by 08.09.2016 / 00:47
2
answers

Laravel 5.5 - The page has expired due to inactivity. Please refresh and try again

I'm trying to upload images to a project, after uploading 2 or 3 images I get the error    The page has expired due to inactivity. Please refresh and try again. It takes me out of the session and when I try to log in, I get the same error...
asked by 02.09.2017 / 01:43
3
answers

Error in MySQL query

When I try to run, the next query does not throw anything at me. someone could advise me, thanks. SELECT * FROM bd.tabla WHERE interv='15seg' IF(interv='15seg' AND fecha_hora='2016-08-02 00:00:00' AND fecha_hora >= '2016-08-1...
asked by 18.08.2016 / 20:29
4
answers

PHP Format in Visual Studio Code

Currently I have several php files that are messy, I mean it's something like this: <thead> <tr style="background:#339999;color:white;"> <th>ID</th> <th>APELLIDO PATERNO&l...
asked by 09.05.2018 / 17:09
2
answers

HTML5 and SQL Server integration [closed]

Some course or workshop or whatever ... hehe. That you can recommend me for the integration of HTML5 with SQL Server. Let's talk about the fact that with MySQL it is more friendly and / or flexible to link it to HTML5, but if you could guide me...
asked by 14.07.2017 / 17:04