Use mysql_fetch_assoc() for fieldnames
>>when I call mysql_fetch_row() I get an array, but this Array doesn't have
>>the fieldnames as array-keys.
>>I've seen several codes from others where they use something like
>>
>>print $row['key'];
>>
>>This doesn't work on my server. Is this because my s
> when I call mysql_fetch_row() I get an array, but this Array doesn't have
> the fieldnames as array-keys.
> I've seen several codes from others where they use something like
>
> print $row['key'];
>
> This doesn't work on my server. Is this because my server-software is too
> old or am I using
On Sun, 20 Jun 2004 19:05:31 +0200, Gerben <[EMAIL PROTECTED]> wrote:
>
> when I call mysql_fetch_row() I get an array, but this Array doesn't have
> the fieldnames as array-keys.
> I've seen several codes from others where they use something like
>
> print $row['key'];
'key' simply needs to be
when I call mysql_fetch_row() I get an array, but this Array doesn't have
the fieldnames as array-keys.
I've seen several codes from others where they use something like
print $row['key'];
This doesn't work on my server. Is this because my server-software is too
old or am I using the wrong functi
4 matches
Mail list logo