这是代码
$query = mysql_query("SELECT avatar FROM users WHERE UserID = ".$userID."");
$row = mysql_fetch_array($query);
$user_avatar = trim($row['avatar']);
unlink($user_avatar);
但由于某种原因,我收到此错误警告:unlink();
为什么 $user_avatar 返回空?如果我回显它会显示 t_cabbbccebbfhdb.jpg