I am building a blog server with dreamweaver and phpMyAdmin so I have an wpindex.php page showing the topics and a topic page, wptopic.php showing only that topic. I need to create a link from the wpindex.php to wptopic.php.
The link is:
wptopic.php?ID=<?php echo $row_Recordset1['ID']; ?>
*Recordset1 is a query of the blog post table*
However, when I tested it, all post's link are 'wptopic.php?ID=1'.
How can I fix it?
Also, in the wptopic.php page, there is a place to show comments.
However, when there is no comment, there is still a 'says' word in the page. how can I make the 'says:' disappear when there is no comments?
The Code:
<p>Comment:</p>
<p align="right"><?php echo $row_Recordset2['comment_author']; ?>says:</p>
<p align="right"><?php echo $row_Recordset2['comment_content']; ?>
*Recordset2 is a query of the blog reply table*
Thks!