Hi,
Strange...you should be able to find the number of fields from resultset
with mysql_num_fields.You use MYSQL_RES like parameter for
mysql_fetch_fields ?
How do you use mysql_fetch_fields?
Regards,

Gelu
_____________________________________________________
G.NET SOFTWARE COMPANY

Permanent e-mail address : [EMAIL PROTECTED]
                                          [EMAIL PROTECTED]
----- Original Message -----
From: "Ritesh Nadhani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 8:34 PM
Subject: mysql_use_result


> Greetings...
>
> When I am using mysql_use_result API to retrieve results, I am always
> getting 0 value for the max_length member of MYSQL_FIELD structure which
is
> returned by mysql_fetch_fields.
>
> But when I am using mysql_store_result, max_length has correct value.
>
> Is this normal ? Is there any way to know the max_length when using
> mysql_use_result.
>
> Thanks in advance
>
> Insane
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to