Hello all, I'm trying to build a forum site. The code below works fine but I dont know how to catch it from the address bar. I'm having trouble finding tutorials to help me with this.
echo "<tr bgcolor='#6698FF' ><td><a href='viewcomments.php?id=".$rows['topic']."'> ".$rows['topic']."</a></td><td>".$rows['username']."</td><td>".$rows['timestamp']."</td></tr>";
I'm trying to use this in code below in viewcomments.php to retrieve the address info
$id = $HTTP_GET_VARS['topic'];
I'm getting this error
"Notice: Undefined variable: HTTP_GET_VARS in C:\wamp\www\testsite\viewcomments.php"