[SOLVED] array into one variable output
Posted: Fri Oct 29, 2004 6:29 am
output array contents into variable?
i have this code
and it outputs in a string, but i need to output that string into one variable? can't seem to get it to work atm.
i have this code
Code: Select all
<?php
while ($orow = mysql_fetch_assoc($oq))
{
$afforders[] = $orow['orderno'];
}
foreach ($afforders as $afforders)
{
echo ''.$afforders.',';
}
?>