I have one table named as movie. which contains fields like movie_id, movie_name etc.
I want that movie_id in my drop down list. so i have to retrive that data from movie table. I tried my best but i dont get success in this. plz help me to retrive data in my drop down list from movie table.
MMadhavi
0
Newbie Poster
Recommended Answers
Jump to PostWhere do you get stuck? The principle is: construct appropriate query to retrieve rows from the table and then use data of each row to build option elements:
// query $q = 'SELECT id, title FROM movies'; // connection and querrying stuff ... // start the html …
All 6 Replies
broj1
356
Humble servant
Featured Poster
MMadhavi
0
Newbie Poster
pritaeas
2,179
¯\_(ツ)_/¯
Moderator
Featured Poster
rajilakshmi
0
Newbie Poster
rajilakshmi
0
Newbie Poster
rpv_sen
59
Junior Poster
broj1
commented:
Excellent resources, thnx
+6
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.