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
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