Query: SELECT user_group.group_id FROM user_group
LEFT JOIN groups ON user_group.group_id = groups.group_id
WHERE user_group.user_id=-1
AND user_group.user_pending=0
AND groups.group_single_user=0
Result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups ON user_group.group_id = groups.group_id
WHERE user_group.user_i' at line 2
Database handle: Resource id #9
Powered by: PhotoPost PHP 4.5.1 Copyright 2003 All Enthusiast, Inc.
No portion of this page, text, images or code, may be copied, reproduced,
published or distributed in any medium without the expressed written permission
of the copyright holder.