Thread: MySQL error...
View Single Post
Old April 23rd, 2005, 09:24 PM   #11 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
Well this query is in line 232 of uploadproduct.php

$querya = "SELECT id FROM {$Globals['pp_db_prefix']}products WHERE userid='{$User['userid']}' AND cat='$defcat' AND bigimage='$realname'";


Your problem has nothing to do with slashes. Your cat variable is empty. It is looking for $defcat which is passed in the url

You can try replacing $defcat in the query with $category

The next one I will reserve comment till I think further on things
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote