[英]Forum posts not showing
I have a really big problem here with alot of code but i think i know the problem When im creating a topic(post) it get the category_id of 0 but category_id's is starting on 1 so the topic(post) is not showing in enny of the categorys. 我在这里有很多代码有很大的问题,但是我想我知道问题了。即时消息创建一个topic(post)时,category_id为0,但category_id的开头为1,所以topic(post)不在enny中显示类别。 But i dont know how to fix that problem. 但是我不知道如何解决这个问题。
My codes: 我的代码:
in your create_topic.php on line 33 在第33行的create_topic.php中
<input type="hidden" name="cid" value"<?php echo $cid; ?>" />
Your are missing the "=" 您缺少“ =“
<input type="hidden" name="cid" value="<?php echo $cid; ?>" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.