距开课0天0时0分-10151974秒
高先生2018-11-23 17:34:17 0 4 525
[PHP讨论组]源自课程章节:PHP开发简单新闻发布系统之新闻发布页PHP代码举报回复话题 ↕
如果在数据库中插入新闻则可以在列表页显示和修改,但是和案例中代码一样却一直不能在页面发布,请问是什么问题?
1
0
分享
天蓬老师 2018-11-27 21:38:531楼
请把出错信息发出来看看,还有源代码, 这样的怎么回答呢?
赞 +0添加回复
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>新闻发布页面</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;">新闻发布页面</h3> 标 题:<input type="text" name="title" style="width:200px"/> <br/><br/> 作 者: <input type="text" name="author" style="width:200px"/> <br/><br/> <span>内 容:</span> <textarea cols=35 rows=8 name="content"></textarea><br/><br/> <input type="submit" value="发布新闻"/> </form> </body> </html>
new.php和案例中的一样,没有修改
可以留个邮箱吗?我把源码发给你帮我看一下,
天蓬老师 2018-11-27 21:38:531楼
请把出错信息发出来看看,还有源代码, 这样的怎么回答呢?
赞 +0添加回复