[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl API


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@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-cj=cr-jay.ca@xxxxxxxxxxxxxxx>
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@xxxxxxxxx



---------------------------------------------------------------------
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-thread81418@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.