Hi, Wednesday, April 21, 2004, 12:05:08 AM, you wrote: JWH> I see what you're doing here, but it doesn't fit what I'm looking for JWH> exactly. You just create a Key : Value list to include in the email. I want JWH> the email to look exactly like the form, only substitute in the values JWH> submitted by the user.
JWH> ---John Holmes... Now I see what you want, the real problem would be select boxes and radio buttons, the others would be quite easy. looks like a job for preg_replace_callback() and the worlds ugliest case statement:-) Have you got a good sample form I could play with? It would be quite a class. I assume you have access to the original form :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php