Are you de-referencing $names correctly?
For example, "$name->[0]" will give you the first column name.
>Excerpt from MySQL manual :
>===================================================
>NAME Returns a reference to an array of column names. Example:
>
> $names = $sth->{NAME};
>===================================================
>
>$names contains nothing.
>
>I suppose this is not normal behaviour.
>
>
>=====
>ing. Andrei Boros
>Centrul pt. Tehnologia Informatiei
>Societatea Romana de Radiodifuziune
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
>---------------------------------------------------------------------
>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 <mysql-thread81283@stripped>
>To unsubscribe, e-mail <mysql-unsubscribe-cj=cr-jay.ca@stripped>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Christopher R. Jones, P.Eng.
14 Oneida Avenue
Toronto, Ontario M5J 2E3
Tel. 416 203-7465
Fax. 416 203-8249
Email cj@stripped
| Thread |
|---|
| • perl API | Andrei B. | 1 Aug |
| • Re: perl API | Christopher R. Jones | 2 Aug |