PHP 投票システムの場合の conn.php ファイルが何であるか知っている人はいますか?
つまりここに含まれるconn.php <?php include('../conn.php'); if(isset($_post['投票名'])?$_post['投票名']:""){ $投票名 = $_post['投票名']; $diedate = $_post['dieddate']; $description = $_post['description']; $type = $_post['mradio']; $result = $db->query("update sysconfig set vote_name='$votename', dietime='$diedate', method='$type', description='$description' where cid='1';") ; if($result){ echo "<script>onload = function(){document.getElementById('errortext').innerHTML='配置保存成功';}</script>"; }それ以外{ echo "<script>onload = function(){document.getElementById('errortext').innerHTML='配置保存失败';}</script>"; } } $result = $db->query("select * from sysconfig where cid='1';"); $row = mysqli_fetch_assoc($result); ?> <!DOCTYPE html> <html> <頭> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/Calendar3.js"></script> <link rel="stylesheet" href="css/add.css" type="text/css" media="screen" /> <link rel="stylesheet" href="utilLib/bootstrap.min.css" type="text/css" media="screen" /> </head> <本体> <div class="div_from_aoto" style="width: 500px; margin:30px 40px;"> <div id="result111" class="result111" style="width:300px; height:20px; margin:4px auto; color:#33FF99;"> <h5 id="エラーテキスト"></h5> </div> <form action="Voteset.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <div class="コントロールグループ"> <label class="laber_from">投票主题</label> <div class="controls" ><INpUT class="username" name="votename" type=text value="<?php echo $row['vote_name']; ?>">< p class=help-block>