This one time, at band camp, "Phpu" <[EMAIL PROTECTED]> wrote:
> If i have an array > $array = array(1, 2, 3, 4, 5, 6, 7) > How can i display the array element sepparated by (;) like this > $display = 1;2;3;4;5;6;7 $i=0; $arraySize = sizeof($array); while($i < $arraySize){ echo $array[$i]; if($i < ($arraySize-1)){ echo ';'; } $i++; } Kevin --------- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php