Questions tagged as 'php'

2
answers

Delete data mysql php [closed]

I have a table made where it shows me records of a database in mysql.In the table for each record is created a button that is called delete and what I want to get is that by clicking this record is deleted. I have this code made in usuarios.p...
asked by 10.02.2018 / 17:18
1
answer

Show data to logeados users PHP

I'm making a web page where I have a login and when you log in it takes you to a file called user.php What I want to achieve is that only logged-in users can see the contents of the user.php file I want to avoid that in the search engine of the...
asked by 10.02.2018 / 12:18
1
answer

Query laravel 5.6

Hi, I'm doing what I tried to do something half complex that does not work out for me, it's the following: I have 3 tables: users: the table that comes by default in laravel payment_type: I show the types of payments payment_users: I get...
asked by 12.05.2018 / 22:52
1
answer

Fix Notice: Undefined variable and Warning: Can not modify header information - headers already sent

My code .php is: <?php $Nombre = $_POST['Nombre']; $Apellidos = $_POST['Apellidos']; $Alias = $_POST['Alias']; $Correo = $_POST['Correo']; $Ingreso = $_POST['Ingreso']; $Pais = $_POST['Pais']; $Estado = $_POST['Estado']; $Ciudad = $_POST['C...
asked by 11.05.2018 / 18:53
1
answer

Codeigniter - transactions stored procedure

Is it possible ?, they work as they should? do transactions by invoking store procedure from query builder ?, that is, the changes are reversed with rollback in case of error ?, thanks. $this->db->trans_start(); $this->db->quer...
asked by 13.05.2018 / 05:44
1
answer

How to know which user is logged in with ajax requests? [closed]

I have a problem with my ajax functions, I made a simple login with a request get to a REST server asking for the data of userName, password and id and I compare it with the entered data userName and password and if it matches one it redirects m...
asked by 04.04.2018 / 07:33
2
answers

Error creating bundle in symfony 4

Good I have this error when running php bin / console, it throws me the following:    In FileLoader.php line 168:                                                                                                        The autoloader expected c...
asked by 04.04.2018 / 15:11
1
answer

Role management Codeigniter

How do I show in a select that I can select only one user if this is a different user to the administrator, because only can send messages to several users is the one with administrator profile this is my view <select name="users[]" id=...
asked by 04.04.2018 / 15:52
2
answers

Search for a word within a php record

I do not know how to explain in the title what I need I'm trying to do SQL query to find a word within my table For example: An input where you put a word and look for it in the whole table. This is easy with this php if ($row['cli...
asked by 09.02.2018 / 12:51
1
answer

How to redirect to another server in PHP

I am using a service in PHP as a Redsys payment gateway in which it connects, performs card payment and obtains a response code. This answer needs to be redirected to another external server with the order code to notify the response given by...
asked by 09.02.2018 / 08:02