Publishing has been unsuccessful
高先生
高先生 2018-11-23 17:34:17
0
4
1204

If news is inserted into the database, it can be displayed and modified on the list page, but like the code in the case, it cannot be published on the page. What is the problem?

高先生
高先生

reply all(1)
Peter-Zhu

Please send the error message and the source code. How do you answer this?

  • reply <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>News release page</title> <style type="text/css"> span{display:inline-block; float: left; width: 55px} input[type="submit"]{margin-left: 30%;} </style> </head> <body bgcolor="#ccc"> <form name="article" method="post" action="publish.php" style=""> <h3 style="margin-left: 60px;">News release page</h3> Title: <input type="text" name="title" style="width:200px"/> <br/><br/> author: <input type="text" name="author" style="width:200px"/> <br/><br/> <span>content:</span> <textarea cols=35 rows=8 name="content"></textarea><br/><br/> <input type="submit" value="发布新闻"/> </form> </body> </html>
    高先生 author 2018-11-30 14:23:21
  • reply new.php is the same as in the case, no modifications
    高先生 author 2018-11-30 14:24:03
  • reply Can you leave an email address? I'll send you the source code so you can take a look at it.
    高先生 author 2018-11-30 14:24:59
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!