/ Published in: PHP
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
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