Questions tagged as 'php'

1
answer

Create pop-up bootstrap modal for each state with buttons

I have a table where there is a column called " estado ", each user / row / id has a status as a series, see ( 0,1,2 ). The description of the states is: 0-inactive 1-active 2-banned. When loading the page I get the current status th...
asked by 17.11.2016 / 14:58
1
answer

Securing entry of variable GET

I tell you what happens to me, I want to make a file eject.php that is in charge of doing an UPDATE to change to 0 some values in the table account. The values that this file needs would be uid and rut, but I got to thinking that if I do a hr...
asked by 20.11.2016 / 17:51
1
answer

Problems when inserting data into a table with several foreign keys

Good, I am trying to insert data in all the tables of my database, especially the one of student that depends on three foreign keys already obtained when executing the previous querys. I will leave all the queries, but I would like them to detai...
asked by 20.11.2016 / 05:04
1
answer

Do not open modal in Laravel

I used to have my code organized like this. Part of my index.php <!-- barra de navegacion --> <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container-fluid">...
asked by 13.11.2016 / 18:05
2
answers

Get input value within a td in the table by Jquery

I want to be able to capture from a Datatable table some input inside Td by means of jquery that I can take those values by means of the id or the name. In my code I search for all input type number but apparently do not know which input to take...
asked by 15.11.2016 / 16:03
3
answers

How it could show the history of an ID in PHP mysql

I would like to make a web system which shows me the X client (ID) history and I have the complete crud but at the point of how to create a history as the client asks me unfortunately I do not know how it is done. Explanation in detail of wha...
asked by 03.01.2017 / 23:45
1
answer

I have problems validating a form with php

I have the following form: <form action="#" method="post"> <ul class="ulformu"> <li class="liformu"> <label for="nombre"></label> <inp...
asked by 03.01.2017 / 20:35
2
answers

AJAX PHP pass select value to a codeigniter controller

I have a problem about which I am very confused. I have a dynamically generated selection box using a php query with codeigniter: <div class="form-group"> <select onchange="func(this.value)"> <option value="">Se...
asked by 04.01.2017 / 23:16
1
answer

Embed html inside another html page

Hi, I'm doing a web page with php, but I would like to know how I can embed another html page within my page, that is, I have this menu saved in another html <nav class="navbar navbar-default"> <div class="container-fluid">...
asked by 01.02.2017 / 13:30
1
answer

Save in database, radio input created with javascript?

Good in a form created a button that creates radio input with javascript, the question is that I would like to save those radio inputs (alternatives) in my database. <form action="pregunta-quest.php" method="post"> <input type="text"...
asked by 29.01.2017 / 06:33