Hello! I made something that shows a reply and topic (forumish) and added pages.
There's one problem though, when i do this:
for ($i=1; $i<=$totalpages; $i++) {
echo "<a href="?pages=topic&t=."$_GET['t']&p=".$i."'>".$i."</a> ";
}
It says this:
CODE Parse error: syntax error, unexpected '=' in C:\wamp\www\YourSiteName\style\reply.php on line 43
Call Stack
Time Memory Function Location
1 0.0012 403448 {main}( ) ..\index.php:0
2 0.0270 428768 include( 'C:\wamp\www\YourSiteName\pages\topic\index.php' ) ..\index.php:42
[/CODE]
and at line 43 is
echo "<a href="?pages=topic&t=."$_GET['t']&p=".$i."'>".$i."</a> ";
Please help me fix this Thanks. 🙂