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
How to leave messages on my isp server using Exchange 2007
Automate Exchange Account Setup (Hosted Exchange)
PHP file pull
PL/SQL - Remove comma from address field
Exchange 2010 Migration: iPhone Not Connecting & Outlook / Entourage Clients not connecting
Deployment in .NET for 64bit
no query strings on an ipad
Bind Security: Transaction Signatures (TSIG) Configuration got error message
json to javascript - google charts
Will the new iTunes allow my old songs bought in the iTunes Music Store onto a new iPhone, iPad, iPod, etc.?