Just as an aside, you need to be careful you don't put values into the
variables that came from some type-in box or other user input without
it, you store it in the database, and future customers coming by
suddenly have things running on their computers they didn't want.
(Similar to SQL injection attacks, basically.)
Darren New / San Diego, CA, USA (PST)
My Bath Fu is strong, as I have
studied under the Showerin' Monks.