print "<select name='recordtodelete'>";
while ($delrecords=fgets($delip, 4096))
{
if(ereg("[0-2][0-9][0-9]", $delrecords))
{
print "<option>$delrecords</option>";
}
}
print "</select>";
The delrecords string has more than one space in it, but when it prints as a select option, there is only one space whereever there are spaces, how do I get it to show the correct number of spaces?