PHP getSelectFromTable


/ Published in: PHP
Save to your folder(s)

This is one of my favs to use and reuse. Essentially, we make a select box on what is in the table filled values/labels.

Download the ISO countries list to make a country table and Bam! with this function you got a country select box... Also great for foreign keys...

Other Examples:

auto\_maker, auto\_maker\_id
color\_name, color\_id

URL: http://www.goingson.be

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.