$outputstring is a double dimension string array and should give it's values as "default value" in the html input text boxes. But it stops the strings in the first space character. For example if $outputstring[2][1]=="The Cats" it put in the text box only "The".
Any idea? $team=0; while ($team<$NumOfTeams) { echo "<input type=\"text\" name=\"teamName[$team]\" value="; echo $outputstring[$team][1]."\">"; $team+=1; } -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php