View Single Post
Old 12-10-2011, 10:27 AM   #1 (permalink)
captainmerton
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default Handling Commas in image titles

Hi - looking for guidance on how best to handle commas. I have a website where people can updload images with related description text which appears on the website as the image ALT deta in the HTML. One problem i have is often people have images with filenames like New 'Cool' Bathroom.jpeg they then add a description with the same name. To be honest i'm not really interested in doing anything too complicated. Happy to probably just remove the commas so it doesnt cause the php to fall over as the comma is treated as part of the php code. Any thoughts?

Many thanks in advance.
captainmerton is offline  
Reply With Quote