View Single Post
  #7 (permalink)  
Old 04-30-2008, 01:50 AM
sssddd sssddd is offline
Novice
Join Date: Apr 2008
Posts: 10
iTrader: (0)
sssddd is on a distinguished road
http://mysite.com/comments.php?page_id=$id

so if that is my link

should my code on the comment.php page be
PHP Code:
   <?php
require('inc_rate.php');
getComments((int)$_GET['page_id']);
submitComments((int)$_GET['page_id'],$PHP_SELF);
?>
so anywhere with $id I should replace with $_GET['page_id'] on that page?

Thanks a bunch I am getting this

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote