On Sat, 1 Feb 2003, Hugh Danaher wrote: > echo("| %s | %s | %s | %s | %s |<br />", $array[id], $array[username], > $array[password], $array[status], $array[notes]); > > try > echo "| %s | %s | %s | %s | %s |<br />".$array[id]." ".$array[username]." > ".$array[password]." ".$array[status]." ".$array[notes]; > > dots not comas between variables.
echo takes on commas as we can echo multiple variables which isn't something we can do with print. This is also the main difference between echo and print. So, the commas are okay here but as someone else already stated, echo doesn't behave like printf so no special %formatting% with echo. Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php