Microsoft
Software
Hardware
Network
Question : PHP + MYQL - Lile statement problem
Hi,
I need to query my mysql with like statement.
My database valeu is /home/florlpt1/public_html
/safelinet
_t/system/
data/defau
lt_home_fo
lder/teste
/FGCI 2010/Norte/
this is my query
SELECT * FROM `df_modules_shares` WHERE `path` LIKE '%/home/florlpt1/public_ht
ml/safelin
et_t/syste
m/data/def
ault_home_
folder/tes
te/FGCI 2010/Norte/123'
so I need that the query return me the database valeu "/home/florlpt1/public_htm
l/safeline
t_t/system
/data/defa
ult_home_f
older/test
e/FGCI 2010/Norte/"
How can I do it?
Thanks
André Bolinhas
Answer : PHP + MYQL - Lile statement problem
Ok, maybe try reversing the LIKE:
SELECT * FROM `df_modules_shares` WHERE '/home/florlpt1/public_htm
l/safeline
t_t/system
/data/defa
ult_home_f
older/test
e/FGCI 2010/Norte/123' LIKE CONCAT(path, '%')
Random Solutions
Microsoft Excel - Change a Named Range With Code
advance image editing via the web
Load XML file into sqlserver 2008 Database using c#
asp.net. why am i geting this error: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path
Exchange 2007 bouncing a message
Adobe Photoshop 6.0
Cannot check POP mail in Outlook 2007
ClientScript.RegisterStart
upScript not working
Windows 2008 r2 Crashing while installing on a dl380 g6
What causes new Windows 7 computer to have expired activation?