Hello,
Can anyone see whats wrong with this ?
$branch = array();
$br=0;
while ($br<1000) {
if (strlen(strval($br)) == 1) { $br = "000".$br; )
if (strlen(strval($br)) ==2) { $br = "00".$br; }
if (strlen(strval($br)) ==3) { $br = "0".$br; }
$branch[$br] = "B".$br;
$br++;
}
I wish to have an array with the values B0001..B0002 through to B0999.