[PHP-DB] Array help please

2003-01-19 Thread Dave Carrera
Hi All I am trying to create a tld lookup script for uk and main us domains. I have success by creating multiple function hardcode the whois server and tld but I would love to be able to make an array of tlds then step through the array to check availability of domain. Example $arr =

Re: [PHP-DB] Array help please

2003-01-19 Thread Peter Beckman
$arr = array(.co.uk,.com,.net,.me.uk); echo Top Level Domains: ; while(list(,$tld)=each($arr)) { echo $tld., ; } On Sun, 19 Jan 2003, Dave Carrera wrote: Hi All I am trying to create a tld lookup script for uk and main us domains. I have success by creating multiple function hardcode the