I need to do a very simple query in MySQL versions 3.23.41 and 4.0.10
whereby it would be something like this:
[PHP]
$sql = "SELECT * FROM image WHERE image_path LIKE
'%$imageLocatio nPath/[a-zA-Z0-9\\-_\\.%]+\$%'"
[/PHP]
However, I can't figure out how to do this. I went to various online
tutorials including www.mysql.com and I'm sorry not a single one of
them made an ounce of sense. Could someone please help me with this
very simple task or point me in the right direction as to how to write
this?
Thanx
Phil
whereby it would be something like this:
[PHP]
$sql = "SELECT * FROM image WHERE image_path LIKE
'%$imageLocatio nPath/[a-zA-Z0-9\\-_\\.%]+\$%'"
[/PHP]
However, I can't figure out how to do this. I went to various online
tutorials including www.mysql.com and I'm sorry not a single one of
them made an ounce of sense. Could someone please help me with this
very simple task or point me in the right direction as to how to write
this?
Thanx
Phil
Comment