query($query); if ($result->num_rows > 0) { $sql = "UPDATE inc SET webname = '$webname', keywords = '$keywords', description = '$description', indexwebname = '$indexwebname', copyright = '$copyright' WHERE id = 1"; } else { $sql = "INSERT INTO inc (webname, keywords, description, indexwebname, copyright) VALUES ('$webname', '$keywords', '$description', '$indexwebname', '$copyright')"; } $conn->query($sql); echo ""; exit; } ?>
网站名称
网站首页title
网站默认关键词
网站默认描述
版权信息