Posted by pauld on 12/16/05 15:08
$sql= sql query
$i=0;
while
($a2=mysql_fetch_array($a1)){array_push($temparray,$a2[0],$a2['ad'],$a2[1],$a2[1]);
{
I want this array to be the value of an asssoc. array $results[$i]
$results[$i] =$temparray doesnt work
$results[$i] =$temparray[] doesnt work
$results[$i][] =$temparray doesnt work
$results[$i] =>$temparray doesnt work
then $i++;
}
so what does ?
[Back to original message]
|