«

php新增数据库

Genius 发布于 阅读:637 PHP技术


$sql = "INSERT INTO `record` (`km`, `uid`, `time`,  `type`) VALUES ('$name', '$email', '$content', '$currentDateTime');";
                        mysql_query($sql);
                        mysql_close();