Hi Guys, I havnt been in here for ages!! wow its good to be back
I have the following piece of code
$domain_pc = "";
while ($domainpc < 10){
$domainpc++;
$domain_pc .= "<option value='".$domainpc."'>".$domainpc."\n";
}
Which displays a select box in a fom with the values 1 - 10 however, i want it to display 0 - 10 how can i accomplish this?
Regards
Mark
http://www.host4.me.uk
No doubt i'll be back for more answers!
I have the following piece of code
Code:
$domainpc = 0; $domain_pc = "";
while ($domainpc < 10){
$domainpc++;
$domain_pc .= "<option value='".$domainpc."'>".$domainpc."\n";
}
Which displays a select box in a fom with the values 1 - 10 however, i want it to display 0 - 10 how can i accomplish this?
Regards
Mark
http://www.host4.me.uk
No doubt i'll be back for more answers!