2 dimension Array...
| From: | krizz | Date: | Fri, 20 Dec 2002 02:25:07 +0000 |
| Subject: | 2 dimension Array... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17498@lists.php.net to get a copy of this message | ||
$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;
}