i need to query a bunch of entries from a table from variable columns with a wild card before and after the search term. thats vague i know. so heres my query, but i don't think its a valid query.
Code:
mysql_query("SELECT * FROM livestock WHERE" . $_GET['zone'] . "LIKE '%" . $_GET['name'] . "%'");