List:General Discussion« Previous MessageNext Message »
From:Christopher R. Jones Date:August 2 2001 2:31pm
Subject:Re: perl API
View as plain text  
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 APIAndrei B.1 Aug
  • Re: perl APIChristopher R. Jones2 Aug