Search found 1 match
- Sun May 06, 2012 8:08 am
- Forum: Tutorials
- Topic: Blog Tutorial Add a Comment to Posts
- Replies: 1
- Views: 1871
Blog Tutorial Add a Comment to Posts
posts.inc.php Below is my code. When i make a comment it doesnt show up or either not going to the DB. Please help me <?php function valid_pid($pid){ //echo mysql_error(); $pid = (int)$pid; //echo mysql_error(); $total = mysql_query("SELECT COUNT('post_id') FROM `posts` WHERE `post_id`={$pid}&q...