You may want to give mysql_fetch_object a try. I like it because you end up
typing less. You access elements like this: $row->data, instead of
$row['data']. Just my $0.02.

Mike
----- Original Message -----
From: "Chris Boget" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 8:42 AM
Subject: Re: [PHP] Oddity


> > $macroDataArray = mysql_fetch_array( $result );
>
> I'm still curious what is going wrong, but I've found a work arround.
> One of the things I love about PHP is that you learn something new
> just about every day.  Instead of fetch_array(), I can use fetch_assoc()
> and it'll do just what I need. :)
>
> Chris
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to