你的INSERT 语句写错了:$query="insert into qiye (name,href) values ('$use','$href')"