November 19, 2009 at 6:54 pm
#66812
Member
It’s $_GET and don’t forget to addslashes() to anything you using a database query.
Code:
$page = $_GET[‘pages’];
SELECT * FROM database WHERE title=’ . addslashes($page) .’
http://php.net/manual/en/reserved.variables.get.php
http://uk3.php.net/manual/en/function.addslashes.php