I'm a new in PHP & PEAR_DB
<?php
require_once ('DB/Pager.php');
....
$db = DB::connect('odbc://$usera:$pwa@Nico3/$db_tablea');
$sql ="SELECT tmpFarmId,tmpfoName,tmpfAddress FROM $db_table WHERE $TT LIKE '%$WW%'";
$sult = $db->limitQuery($sql, $from, $limit);
while ($mm = $sult->fetchrow()) {
echo "Hello";
}
?>
RESULT:Fatal error: Call to undefined function: limitquery() in C:\Xitami\webpages\livestock\finder\search33.php on line 55
(& same same in query())
I use Xitami on Win2K && MSSQL with PHP4.2.1
Why I can't use even a very simple query() ???
or need to give require_once in somewhere??
I know query() & limitQuery() are in DB/common.php
Please help me
Very thnx in advance