printf('<input type="text" name="teamName[%s]" value="%s">',
    $team, $outputstring[$team][1]);

even more easier to read, xhtml complient, and better to maintain...
if $team is always a number, you could change the teamName[%s] to
teamName[%d], but that's just being picky... :)

Sjon.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to