这是我目前唯一遇到问题的代码部分
<?php
include('config.php');
$term = $_POST['term']; <----- this would be line 22 in the error
$sql = mysql_query("select * from customers where F_Name like '%$term%' or L_Name like '%$term%' or H_Phone like '%$term%'");
if (mysql_num_rows($sql) <= 0) {
// no results
echo 'No results found!';
} else
while ($row = mysql_fetch_array($sql)){
}
?>
提前感谢您的帮助!