当我执行此代码时出现此错误。我不知道该怎么办。请帮忙
<?php
$Q = strtoupper($_GET['q']);
$q = ucwords($_GET['q']);
$result = mysqli_query($conn, "SELECT src FROM mytable WHERE '%$Q%' NOT LIKE 0 OR SRC LIKE '%$Q%'");
$total = mysqli_num_rows($result);
$numRows = function()
{
if($total <= 4){
return 1;
} else {
return ($total / 4);
}
};
if($row = mysqli_fetch_array($result)){
?>
<h2>Resultados para la búsqueda <?php echo "$q"?></h2>
<h3>Número de resultados total: <?php echo "$total"?></h3>
<?php
}
泛舟湖上清波郎朗
慕哥9229398