Gossamer Forum
Home : Products : DBMan : Discussions :

Call db fields in sub_html_home

Quote Reply
Call db fields in sub_html_home
Hi im trying to use a code that i found in the forum to call fields into the sub_htm_home but it displays instead of the information this character ( ; ) here is the code

my (%rec) = @_;
$in{$db_cols[$db_key]} = $db_key;
my ($status,@hits) = &query("view");
if ($status eq "ok") {
%rec=&array_to_hash(0,@hits);
$a1 =$rec{'a1'};
$ap1 = $rec{'ap1'};
$ac1 = $rec{'ac1'};
$ah1 = $rec{'ah1'};
}

this code wes used in the forum to call the users name in the db file and also other information of him,

What im doing is to let every people see without having to log you can check what im triyng to do here http://www.cineplex.org/cartelera/hoy.cgi

the db file is in http://www.cineplex.org/cartelera/xx/miembros.db

the $db_delim = ','; is that one becouse its generated by an excel sheet.

please if you know any other way of doing this please notify me please....

Regards



Subject Author Views Date
Thread Call db fields in sub_html_home Demente 2776 May 29, 2000, 10:47 AM
Post Re: Call db fields in sub_html_home
AstroBoy 2690 May 29, 2000, 5:39 PM
Post Re: Call db fields in sub_html_home
JPDeni 2674 May 30, 2000, 10:55 PM
Post Re: Call db fields in sub_html_home
Demente 2659 Jun 3, 2000, 10:47 AM