Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friend,
I have some problem when implimenting query for my project.When i am trying to find or search world in my path table by using like query i got answer but when i am trying to find any world just like in between world for example in path id =1 world is "\TOOLBAR\" then with "\" then not give me answer.I want to find search world in this path table between world for example "\TOOLBAR\","\APPLICATION\",\EPSON\ in this type of world and give me my full path.

Thanks in Advanced !!

PathId Path
1. '$PROGDIR$\SPEEDBIT VIDEO DOWNLOADER\TOOLBAR\GRABBER.DLL'
2. '$PROGDIR$\GOOGLE\CHROME FRAME\APPLICATION\11.0.696.71\NPCHROME_FRAME.DLL'
3. '$PROGDIR$\BUSINESS OBJECTS\BUSINESSOBJECTS ENTERPRISE 11.5\WIN32_X86\LIBXML2.DLL'
4. '$PROGDIR$\COMMON FILES\EPSON\EBAPI\EEBNWDEV.DLL'
5. '$WINDIR$\ASSEMBLY\NATIVEIMAGES_V2.0.50727_32\ACCESSIBILITY
        \C2AF7CFBB47C077029A2645930B4EEAC\ACCESSIBILITY.NI.DLL'
6. '$PROGDIR$\MICROSOFT SQL SERVER\90\SETUP BOOTSTRAP\RESOURCES\1033\SQLSPARS.RLL'
7. '*:\UNISTAL\UBSUITE\COMMON FILES\SCHEDULAR.EXE'
8. '$USERPROFILE$\APPDATA\LOCAL\CYBERDEFENDER INTERNET           SECURITY\ANTISPYWARE\EBLOCSAUTHENTIUM.DLL'
9. '$WINDIR$\ASSEMBLY\GAC_MSIL\CLI.ASPECT.MMVIDEO.GRAPHICS.DASHBOARD\2.0.3198.30422__90BA9C70F846762E\CLI.ASPECT.MMVIDEO.GRAPHICS.DASHBOARD.DLL'
Posted
Updated 22-Apr-14 23:58pm
v2
Comments
Mohibur Rashid 23-Apr-14 20:15pm    
Can we see your query?
Member 8089110 24-Apr-14 0:33am    
I am trying both queries for full path and partial path.Offcourse i got answer in both queries but if i am selected in between words just i mentioned their i cant get in answer.

For Full Path :-SELECT * FROM path u where u.Path=?

For Partial Path :-SELECT * FROM unknownfiles u where u.Path LIKE '%" + search_text + "%'
Mohibur Rashid 25-Apr-14 9:02am    
try to use mysql_real_escape_string might solve the problem.
Member 8089110 26-Apr-14 0:35am    
but the problem is if you type black slack('\') then query should be commented.I am trying all the way but not give me exactly result..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900