Why does this code..
#if (!defined ("$start_pos"))
#{
$start_pos = 0;
$page_size = 5; # number of results per page
$query_numrows = "SELECT COUNT(*) FROM geog";
$max_rec = $sth = $dbh->prepare($query_numrows);
$sth->execute();
$sth->finish;
if ($max_rec == 0)
{
&error_html("Sorry, no records were found");
exit;
}
$page_size = $page_size;
$max_rec = $max_rec;
#}
Return this...
DBI::st=HASH(0x81e8e00
?
- wil
Code:
#if (!defined ("$start_pos"))
#{
$start_pos = 0;
$page_size = 5; # number of results per page
$query_numrows = "SELECT COUNT(*) FROM geog";
$max_rec = $sth = $dbh->prepare($query_numrows);
$sth->execute();
$sth->finish;
if ($max_rec == 0)
{
&error_html("Sorry, no records were found");
exit;
}
$page_size = $page_size;
$max_rec = $max_rec;
#}
Return this...
DBI::st=HASH(0x81e8e00
?
- wil