|
$query .= join(" and ", param); }
Sresult = $dbh->query($query);
if (result == -1) {
echo("Error : " . Msql->errmsg . "\n");
exlt(l);
}
Snumresults = $result->numrows;
-]
[$if (! Snumresults ) $]
<Н2>Результатов не найдено [SelseS]
[Swhile (%shark = $Msql->fetchhash($result)) $]
-
<В>Вид: [+$shark{'species'}+]
<В>Возраст: [+$age{$shark{'age'}}+]
<В>Район [+$shark{'location'}+]
[;endwhile$] [;endif]
Hoвый поиск а>
|