Click here to Skip to main content
15,893,190 members
Articles / Web Development / HTML

PHP from mySQL into a drop down list dependant on group in table

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
28 Jan 2013CPOL 0  
You have your DB iteratorand inside this iterator you generate select box markup">According to if criteria, you will create one select per each row.Consider refactoring...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
28 Jan 2013J3ffers 2 alternatives  
Hi Guys,I'm trying to populate each drop down with items that are labled as productpr[number] and qty[number] from a database, however it keeps creating a new drop down for each result, probably something really simple, but would appreciate the help.Regards,Jamesdata look like...
Please Sign up or sign in to vote.
9 Jul 2013J3ffers
Managed to fix this myself some time ago, just clearing my old questions out.. Thanks to all that made suggestions...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Ukraine Ukraine
Web Developer, interested in bleeding age web technologies and projects.

Experienced and interested in:
- High load web projects, bespoke software development
- DevOps: Chef, Ansible, Vagrant
- NoSQL (mongodb)
- Client stack (javascript core, jquery, AngularJS, HTML5 apis)
- *AAS (Amazon beanstalk, Redhat openshift)
- MEAN & Pure JS stack (Javascript, AngularJS, Node.JS, MongoDB)


-> DevOps inquiries
-> Other inquiries
-> Follow me on Github

Comments and Discussions