Question,
I already know how to use mysql to create alphabetical titles by removing the opening “A” “An” “The” segments, but am now wondering how I can just do it to a single title in PHP.
I have a film opened to the page, with the entire film title as $filmtitle
I want to take the first letter from the $filmtitle, but not grab the first letter from The, An or A.
Like, I want it to return “A” for something like “Avatar” and “M” for something like “The Mummy Returns.”
How can I do this with PHP?
Cheers!
Ryan