View Single Post
  #1 (permalink)  
Old 04-29-2008, 03:01 AM
sssddd sssddd is offline
Novice
Join Date: Apr 2008
Posts: 10
iTrader: (0)
sssddd is on a distinguished road
how do those page.php?number things work

I have a comment script that has a bunch unique ids. It's called by the code below
PHP Code:
<?php
require('inc_rate.php');
getComments("$id");
submitComments("$id","$PHP_SELF");
?>
Now I have different article pages differentiated by different ids ($id) where I want to add this script, but I dont want to have the comment and submission page on the same article page.

So i want the above code to be on a new page, probably comments.php and hyperlink to my article pages like http://mysite.com/comments.php?$id

So how exactly do I pass the $id on comments.php?$id to the page itself

Please ask anymore question if I am not being clear

__________________

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