View Single Post
Old 09-25-2008, 08:02 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by Retox Josh View Post
SELECT title FROM table WHERE title LIKE '%$_GET['q']%'

ofcourse its dirty, you will want to do alot of shit to the $_GET to make sure its not a malicious get and other bullshit, but it'll help you

using php/mysql by the way
Take note about what RJ said about sanitizing input, or you'll end up like Bobby Table's school:

__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote