Create hash from MySQL field headers
From: Steve Bertrand (iaccounts_at_ibctech.ca)
Date: 09/29/04
- Next message: Bob Showalter: "RE: POSIX module"
- Previous message: Errin Larsen: "Re: POSIX module"
- Next in thread: JupiterHost.Net: "Re: Create hash from MySQL field headers"
- Reply: JupiterHost.Net: "Re: Create hash from MySQL field headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 12:19:37 -0400 (EDT) To: beginners@perl.org
Hi all,
I've been developing a module for our accounting system and am trying
to create a hash with the names equal to the fieldnames of the
database table.
It seems as though 'ListFields' is not functioning, and am wondering
if there is another way.
I simply want to SELECT a single line from the table, have it stored
in a hash, with the name as the fieldname and the value as the actual
data.
Any help would be greatly appreciated, and I am not afraid to go
R'ingAFM if someone could supply decent links.
TIA,
Steve
- Next message: Bob Showalter: "RE: POSIX module"
- Previous message: Errin Larsen: "Re: POSIX module"
- Next in thread: JupiterHost.Net: "Re: Create hash from MySQL field headers"
- Reply: JupiterHost.Net: "Re: Create hash from MySQL field headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|