Thread
:
how do those page.php?number things work
View Single Post
#
4
(
permalink
)
04-29-2008, 09:07 PM
TeraTask
PT Admin
Awards Showcase
Total Awards
: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 442
iTrader: (
0
)
http://mysite.com/comments.php?page_id=$id
Then, you can access the value of $id by
PHP Code:
<?php
require(
'inc_rate.php'
);
getComments
((int)
$_GET
[
'id'
]);
submitComments
((int)
$id
,
$PHP_SELF
);
?>
Assuming your page id's are integers.
__________________
Jeremy Miller
Content Farmer -
Optimized Automated Blog Posting
TeraTask
View Public Profile
Send a private message to TeraTask
Visit TeraTask's homepage!
Find all posts by TeraTask