[Koha] Gate Register Report
Ashok Francis
ashokfrancis.tgs at gmail.com
Tue Sep 26 02:00:05 NZDT 2017
Dear All,
I have installed gate register as per this website link.
http://powerkoha.blogspot.in/2016/05/gate-register.html. Its working well.
But When I try tried for report, I am getting the following error.
{ while ($row = mysql_fetch_assoc($result)) { $csv_output .=
$row['Field'].", "; $i++; } } $csv_output .= "\n"; $values =
mysql_query("SELECT * FROM ".$table.""); while ($rowr =
mysql_fetch_row($values)) { for ($j=0;$j<$i;$j++) { $csv_output .=
$rowr[$j].", "; } $csv_output .= "\n"; } $filename =
$file."_".date("Y-m-d_H-i",time()); header("Content-type:
application/vnd.ms-excel"); header("Content-disposition: csv" .
date("Y-m-d") . ".csv"); header("Content-disposition:
filename=".$filename.".csv"); print $csv_output; exit; ?>
Can anyone please help me to fix the problem?
AShok Francis
Librarian
New Delhi
More information about the Koha
mailing list