preg_match I think...
Posted: Sat Aug 14, 2004 1:41 pm
Hi,
I haven't yet used preg_match - succesfully,
I tried, but can't figure it out.
I need this
a result is returned from mysql,
I need php to check in that result (sometext_somefile.ext) if this string exists in it '.___' - to check if this text/file has an extension or not. (I cant do it in mysql because of the code it self, I know about like and __)
please if you have a code, and it urgent, i need this or I will manualy check many records and corresponding files
Thanks Ahead !
I haven't yet used preg_match - succesfully,
I tried, but can't figure it out.
I need this
a result is returned from mysql,
I need php to check in that result (sometext_somefile.ext) if this string exists in it '.___' - to check if this text/file has an extension or not. (I cant do it in mysql because of the code it self, I know about like and __)
please if you have a code, and it urgent, i need this or I will manualy check many records and corresponding files
Thanks Ahead !