@traq Damn, that’s awesome! Thanks so much for taking the time to comment every line so I can understand and learn from it. One thing I noticed is that when some of the content is added into the database, it strips out apostrophes and quotes.
See here: http://cloud.chrisburton.me/Q0i5
Update: I’ll study the code in the morning and see if I can fix it myself. Thanks again!