SHOW SELECTED OPTION VALUE FROM ARRAY & MySQL DATABASE USING PHP

SHOW SELECTED OPTION VALUE FROM ARRAY & MySQL DATABASE USING PHP

Raddy

4 года назад

134,723 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mr.Bekzod
Mr.Bekzod - 08.08.2023 07:50

Thank you sir you are helpful

Ответить
Younes Hessani
Younes Hessani - 17.04.2023 07:09

hello raddy i have a question i have a dropdown and it shows the selected option value but my teacher doesnt want the selected value on screen and also in the dropdown he only wants it on the the screen when selected if you know what i mean im not great at english (i get the option values from the database)

Ответить
Gaurav Rai
Gaurav Rai - 04.03.2023 13:46

are bhosadi wala black background me LAAR dikhega

Ответить
Jonjon Candare
Jonjon Candare - 24.07.2022 06:51

what if i dont use option i just want to show them by group displaying all data

Ответить
agustin avendaño
agustin avendaño - 05.07.2022 20:41

Thanks!

Ответить
Mahendra Kajiwala
Mahendra Kajiwala - 29.05.2022 05:22

My project is on member association

Ответить
Mahendra Kajiwala
Mahendra Kajiwala - 29.05.2022 05:21

Is it possible to help me on my ongoing project, where ever I am stuck, may be on charges

Ответить
Mahendra Kajiwala
Mahendra Kajiwala - 29.05.2022 05:19

Hello, horw r you? It was great learning..

Ответить
Mahendra Kajiwala
Mahendra Kajiwala - 29.05.2022 04:37

Very good

Ответить
momin adil
momin adil - 01.05.2022 02:41

Thank you for this video very much,
Please, a small question, if you can help. I managed to create a table merging content from 2 tables from MySQL database. I added a drop-down list based on the users names in one column, but I'm trying to make another column autofill based on the username for example phone number.
I'm building a form which has contents in the database in 2 separate tables, but I couldn't manage to autofill a column based on username from the other table. Both tables have linked username_id.

Ответить
sainik bagri
sainik bagri - 29.04.2022 21:51

Hi I need a solution ,
I want to drop down selected value don't show in drop-down after submitting or store in database .. kindly make a video on it

Ответить
Sukma Wijaya
Sukma Wijaya - 27.04.2022 04:34

Can you make from mongodb ?

Ответить
Ulfina Wakjira
Ulfina Wakjira - 11.03.2022 20:38

can you show this tutorial in react??

Ответить
Athithya Paramesh
Athithya Paramesh - 19.02.2022 19:40

Exactly what I was looking for!! Thanks a lot!!

Ответить
Faizan Rehmani
Faizan Rehmani - 13.02.2022 11:12

Very very thanks brother you solve my big task in my project
👍👍👍👍👍

Ответить
Chandrakant
Chandrakant - 24.01.2022 12:14

great tutorial

Ответить
Auriff Yusuf
Auriff Yusuf - 25.12.2021 16:26

Hi great tutorial. would it be possible to get the id associated to the list in the database to display the data without using the get and URL in the browser. Practically you would not expect a user to change the URL to obtain results. I have a database with an array with up to 12 values. on each id. I need to be able to extract values of each array associated to the id.

Ответить
SQ TRAILER
SQ TRAILER - 26.08.2021 00:27

Thanks bro.......

Ответить
গিরিপথ
গিরিপথ - 22.05.2021 20:56

Hi can you please check what I am wrong_


<select name='from_gateway' class='form-control col-8'> <?php while($row = mysqli_fetch_assoc($result)) { $currency=$row['usd_gateway']; echo "<option value='$currency' selected='selected'>$currency</option>"; } ?> </select> <input type="submit" value="Submit" name="submit">

Ответить
Ubuntu expert tutorial
Ubuntu expert tutorial - 14.04.2021 12:00

Thank you, this tutorial is very helpful. Will implement some of the code in my project.

Ответить
ALSTATH
ALSTATH - 10.04.2021 12:44

Hello im nead helps

Ответить
Helmi Boubaker
Helmi Boubaker - 26.01.2021 22:27

thx u for your work but you are missing one something . how we can get the value from that combobox when the user interact with the combo box i mean how i can know what value he pick and make action base on it !? thw again ama sorry for bad english keep going <3

Ответить
Jevar Notice
Jevar Notice - 26.01.2021 03:17

Hi great tutorial!. I was wondering if how to send the selected data from existing database table to a new table in the database using a post method?

Ответить
Silvio Pontes
Silvio Pontes - 20.01.2021 02:12

Hi
How to show the data related to the selected option?

Like this:
We populate two inputs with the first values.

And, if change any input, populate the other input with the context!

Ответить
Malik Saab
Malik Saab - 10.01.2021 21:52

Nice video SIR,
I want to display student result from database when they enter their roll no. On website.. kindly guide php code

Ответить
REGINE
REGINE - 30.12.2020 08:09

if you add another value in the Db will it update in the select ?

Ответить
Suchintha Suriyaarachchi
Suchintha Suriyaarachchi - 15.10.2020 19:52

Can you tel me "i add select form one by one selecting items and create diferent table in that select item"🙄 how can i create that???

Ответить
Nayana Alur
Nayana Alur - 24.09.2020 19:00

can i get the code?

Ответить
Jean Beaudet
Jean Beaudet - 19.08.2020 21:36

Hello Raddy
Very nice tutorial.
I have a quick question: How can you populate your dropdown directly from the mySQL database instead of using this line:
$options = array('Comedy', 'Adventure', 'Drama', 'Crime', 'Adult', 'Horror');
Thanks in advance and have a nice day !

Ответить
Omni Versal
Omni Versal - 26.06.2020 18:18

I have two select dropdowns. One of which are users from the database and others are a theme which they can choose. My users being selected from the database while my themes are a simple select menu (array). After the users select their userId, they can pick a theme and the designChoice column gets updated by the theme which they have selected. I hope you understood it. I had fun playing with that.

Ответить
kelvin owusu
kelvin owusu - 20.04.2020 21:33

Ive got an assignment where im being asked to echo an image depending on what I select from the database list. is there anyway to do this ?

Ответить
Joseph Alemayehu
Joseph Alemayehu - 09.04.2020 02:55

Nice tutorial and easy to understand. Good Job.
Bring some more

Ответить
Karan Joshi
Karan Joshi - 01.03.2020 11:19

Nice tutorial
Make some more it is too helpfull

Ответить