$page = $GET['pages'];SELECT * FROM database WHERE title='$page'
$page = $_GET['pages'];SELECT * FROM database WHERE title=' . addslashes($page) .'
I want to get a variable out of the address bar and use it with my database content selection as a hazardous guess i tried
Before anyone says I know this is totally wrong but worth a try!
Any help would be greatfully appreciated, or someone to point me in the direction
Thanks In advance
Jonathan
jonleesmith.co.uk
http://php.net/manual/en/reserved.variables.get.php
http://uk3.php.net/manual/en/function.addslashes.php