|
Posted by Mara Guida on 12/16/05 18:06
pauld wrote:
> $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
<snip>
Why doesn't this work?
What's the error message?
What did you expect and what's the outcome?
Try inserting these two lines at the top of your script
ini_set('display_errors', '1');
error_reporting(E_ALL);
Navigation:
[Reply to this message]
|