Sweet & Sour != XML

This post may stray from my usual uber-helpful code snippet. But, it could save you unbelievable amounts of time so pay very close attention...

The ampersand character is known around here as the devil symbol. Not the word "ampersand" mind you, but ---> & <---- this evil guy. Stay away from it unless you're using it to escape your HTML. The word 'and' is only two characters longer. In fact, in order to produce that symbol, you have to hold down the shift key, and press 7 which definitely takes more energy and concentration. So the next time your xml_parse_into_struct fails to push data into the array, check to see that your sweet & sour chicken is both sweet and sour.

P.S. all symbols are stupid. Stay away from them.
P.P.S. Don't ever use Word for web text. It's stupid, and has stupid characters.

About this Entry

This page contains a single blog entry by Ben Powers published on April 9, 2008 4:52 PM.

ProStores Software Failure was the previous entry in this blog.

XTE 3.0 Token in PHP from scratch is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.