Hi everyone have this problem aeDate 4.1IQ everything works searchs with single parameter searchs work ie ID Logon name but not advanced search this is what I get
SELECT Profiles.ID, Headline, Country, Occupation, City, Sex, Sex2, ProfileType, NickName, Children, MerchantPrice, LEFT( DescriptionMe, 180 ) AS DescriptionMe, LEFT( DescriptionYou, 100 ) AS DescriptionYou, DateOfBirth, DateOfBirth2, Pic_0_addon, Sound, (LastNavTime > SUBDATE(NOW(), INTERVAL 5 MINUTE)) as is_onl FROM Profiles WHERE Status = 'Active' AND (LookingFor = 'male' OR LookingFor = 'both') AND (IF('female'='both' or 'female'='couple',1,Sex='female')) AND (IF('female'='couple',ProfileType='couple',Profile Type!='couple')) AND (TO_DAYS(DateOfBirth) BETWEEN TO_DAYS('1965-09-22') AND (TO_DAYS('1988-09-22')+1)) ORDER BY Priority DESC, Priority DESC, Profiles.LastLoggedIn DESC LIMIT -10, 10
Error
Database access error
will appreciate any help.
Thanx Logunn


LinkBack URL
About LinkBacks
Reply With Quote




Bookmarks