我希望我的代码对数据库具有平方输出。
请帮助我.....
if (!empty($_REQUEST['term'])) {
$term = mysql_real_escape_string($_REQUEST['term']);
$sql = "SELECT * FROM tlh_user WHERE user_dep LIKE '%".$term."%'";
$r_query = mysql_query($sql);
while ($row = mysql_fetch_array($r_query)){
echo "<h4>MEAL STUB</h4>";
echo "06/01/2019 <br>";
echo date('d/m/Y').$row['user_name']. " " . $row['user_lastname'];
}
}