Hi, > I have many products per page and this code pulls the list price and > formats it. It works fine, but I'd like to know if I can shorten it. Personally, I would advise against trying to cram as much as possible into the least amount of space as possible, and instead going for verbosity/readability. It will help when you come back to re-read it in X months. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th July) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php