View Single Post
drewprops
Space Pirate
 
Join Date: May 2004
Location: Atlanta
 
2005-12-11, 09:46

Oh wow, asort is awesome!!
I just tried it out and it's not the right solution this time around because I've just jammed people's full names into an array (no first/last setup).... the resultant sort is by the first letter of the first name.

I've used pmazer's suggestion of simply passing the person's name instead of their slide number, which works great until it runs into an Irishman. Does PHP not like the Irish for some reason?

http://film-ga.com/?sec=people&p=Timmy%20O'Brien

I'm guessing that it's that apostrophe that it doesn't like? What to do, what to do...

I'll be learning mySQL here soon. I've come to believe that organizing your data properly is more important than learning the tools to manipulate that data.

EDIT: Crap. The single apostrophe wants to be escaped. Tracking down the &whatever; code for the single apostrophe now....

Steve Jobs ate my cat's watermelon.
Captain Drew on Twitter

Last edited by drewprops : 2005-12-11 at 10:19.
  quote