Posted by Rik on 10/05/38 11:46
The only thing I can think of is that the following code sets $_GET['imagetype'], allthough it didn't previsously exist. if(get_magic_quotes_gpc()){ $_GET['imagetype'] = stripslashes($_GET['imagetype']); } Try echoing your query, is should be "SELECT * FROM mydatabase" and nothing more. Else try: $where = (isset($_GET['imagetype'])&&$_GET['imagetype']!='') ? "WHERE imagetype = '".$imagetype."'":''; Grtz, -- Rik Wasmus
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming