忘了写exit了
if ($link_name=="")
{
echo "请输入[链接]名称!";
exit;
}