Skip to content

Tag: select

Boostrap Select

It doesn’t show output <option>. It shows only the select with no element inside. I’m using bootstrap-select library. What’s the problem? Answer You don’t have any problem: It’s working here: Try to set the function like this (inside script tag):

MySQL SELECT in order of array values

Can anyone help me with a Query query? I have an array of IDs $IDvalues = array(“128”, “159”, “7”, “81”, “82”, “83”); And need to retrieve data from another table in the order of the array. At the moment, I have this query: But it’s…

PHP selectfield get value from database, change and POST

I’m a beginner with PHP and have some decent issues ^^ Would like to pick the data from the field “disabled” from the database and update the selectfield with the value. The selectfield has 2 possible options “yes” and “no” (value 0 or 1). Now i would finally like to …