我正在尝试将那些数据插入数据库中
<?php
include('./includes/dbh.php');
if (isset($_POST['submit'])) {
$showname = $_POST['showname'];
$showdbname = preg_replace('/\s+/','-',$showname);
$year = $_POST['year'];
$ytlink = 'src="https://www.youtube.com/embed/'.$_POST['ytlink'].'"';
$category = $_POST['category'];
$img_src = './Show/'.$category.'/'.$showdbname.'/profile.jpg';
$link = '"./Show/'.$category.'/'.$showdbname.'/profile.php"';
$phplink = './Show/'.$category.'/'.$showdbname.'/profile.php';
$synposis = $_POST['synposis'];
$sponsored = '"./../../../channels/'.$_POST['sponsored'].'.png"';
$recommended1 = $_POST['recommended1'];
$recommended2 = $_POST['recommended2'];
$recommended3 = $_POST['recommended3'];
$recommended4 = $_POST['recommended4'];
$views = $_POST['views'];
$director = $_POST['director'];
$cast1 = $_POST['cast1'];
$cast2 = $_POST['cast2'];
$cast3 = $_POST['cast3'];
$cast4 = $_POST['cast4'];
$insertseries= "INSERT INTO series (name, category, img_src, year, link,
phplink , ytlink , synposis, sponsored ,director , cast1 , cast2 , cast3
, cast4 , views)
VALUES
('$showname','$category','$img_src','$year','$link','$phplink','$ytlink',
'$synposis','$sponsored' , '$director' ,'$cast1' , '$cast2' , '$cast3' ,
'$cast4' ,'$views');";mysqli_query($mic,$insertseries);
没有消息出现,但是在此代码之后,有一些代码可以使其他事情及其工作正常,但是此插入语句不起作用