vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

New country list script

on in Development

Hi,

I’ve enhanced my previous script. What it does, is that it generates a dropdownlist with countrienames and countrycodes. You can use a parameter to get a specific country selected.

You can use it like this:

1
2
<?php
echo countrylist('country', 'NL');

Comments