Re: Problems outputting to a 3 column table in order to crate an image gallery
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Problems outputting to a 3 column table in order to crate an image gallery

From: Rik <luiheidsgoeroe@hotmail.com>
Date: Mon May 01 2006 - 02:48:15 CEST

ste wrote:
>> 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']);
>> }
> I replaced the existing $where line with the one above as per your
> suggestion, and this now works perfectly! :-)
> I wouldn't have a clue why one works and one doesn't

Like I said above, $_GET['imagetype'] gets set by the code, even if it
doesn't exist, as an empty string.

Grtz,

-- 
Rik Wasmus
Received on Mon May 1 03:08:15 2006