The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
Hi People i was wondering if anyone could help me,
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
SELECT * FROM database WHERE title=’$page’
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
It’s $_GET and don’t forget to addslashes() to anything you using a database query.
SELECT * FROM database WHERE title=’ . addslashes($page) .’
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed