I have a problem that is almost exactly as this:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_27928324.html
I am not about to give my credit card information to a website to find the answer to this issue.
In my table named 'product' have around 7000 rows in a column named 'image' in my database that each have file paths for images ending in .jpeg. Some image names are 234234_15.jpeg, some are wdcaas_ad_3_15_mmm.jpeg, etc etc. But the file structure is different for each image.
I need to make a script to update all rows and leave only the image name. Preferably I would eventually like to replace all file structures with the folder /data/, and have an example of /data/imagename.jpeg
I found this Remove part of string including a specific character from a string using MySQL and it might help? I am not sure how to use it.
help!