${$array[0]."total"} = $row[0];
But as you defined $array, that will actually create the variables $Flyertotal, $Emailtotal, and $Phonetotal (note the caps).
On 2/13/2004 6:10 AM, Bob pilly wrote:
$array[$i].total=$row[0];<-- problem here
so for the above code i would like to create three variable $flyertotal,$emailtotal & $phonetotal
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php