<?php
include("pass.php");
session_start();
if(isset($_SESSION["login"])) {
require_once ('connect.php');
$not = $_POST["not"];
if($not=="") {
header("location:mybbeklents/admin/dashboard.php?cmd=1");
} else {
mysql_query("INSERT INTO notlar (not,) VALUES ('$not')");
header("location:mybbeklents/admin/dashboard.php?cmd=2");
}
}
?>
此代码不起作用。它们不会被保存到 MySQL 中。