Questions tagged as 'select'

1
answer

Bring the value of the select and leave it marked by GET

Good I'm doing the order editing and I bring the data through GET. There is a field in the table called Iduser which is the user who has placed the order. Then to edit the order I get a select with all the users that I have in the BD....
asked by 11.12.2018 / 10:15
0
answers

Initial value in oi-select

I have the following select: <span>Primer aspecto critico <span class="text-danger">*</span></span> <oi-select oi-options="x.id as (x.pregunta.nombre ) for x in preguntas track by x.id" ng-model="informe.aspCrit...
asked by 04.12.2018 / 15:55
0
answers

Create a dynamic selection in laravel 5.7 (country - city) [closed]

hi esoty just starting with laravel I have two tables country and city related correctly, I want to create a select in my form that the country select me shows the cities that have associated in another select. thank you very much     
asked by 09.10.2018 / 13:14
1
answer

Get value of option selected in a child element (jquery / javascript)

I have the following scenario: a series of SELECT elements in a series of DIV with the same class. <div class="elementLine"> persona 1 <select id="coches"> <option value='si' selected>si</option> <option...
asked by 12.09.2018 / 16:59
0
answers

MYSQL SELECT DISTINCT query does not work in MYSQL 5.7.21

In the previous MySQL version of the hosting this sentence worked for me without problems: "SELECT DISTINCT Mes FROM recogida ORDER BY ID DESC" Where the column ID is unique code for each entry in the table and Month is the month + y...
asked by 02.10.2018 / 16:34
1
answer

I do not receive values from SELECT FROM but from INSERT INTO and if the record exists (MVC, PDO, MYSQL)

Hi, I'm working with PHP and MySql with PDO and the model view controller (MVC) but I have an error when trying to do a SELECT * on the model side. My intrigue is that it works when I do INSERT INTO and when it's a SELECT. what I do is a validat...
asked by 04.07.2018 / 18:39
3
answers

Help with loading SELECT table and INSERT data to display in a PHP MYSQL table!

I am new in these areas I found your page on the WEB and I want a little hand for this system that I am doing, since my expertise with programming and web development is really basic and I am still in the process of perfecting myself and learnin...
asked by 19.06.2018 / 23:15
1
answer

How to make the functions of ajax independent since they are called by dynamic selects created by clone

I have a form with three input groups, the first ones are fixed, the second ones are dynamically generated by .clone and the third ones are fixed. The problem is the second group of inputs I have two select the first is filled by ajax query to s...
asked by 28.06.2018 / 23:18
1
answer

Get select value and use it in the same php file

Hello good morning I have this code is to fill a select with php and mysql but with the value obtained I must make another query to fill the other select depending on the selection of the first, I need to do it in the same file to fill other inp...
asked by 24.04.2018 / 17:33
1
answer

how to create conditioned search syntax in select

It turns out that I want to do a search through ajax where I have three fields one is idpaciente another is cedula and the other is name. What I want to do is to search first by idpaciente if it does not find search by cedula and if it does n...
asked by 13.04.2018 / 14:21