Wilbert Enserink pressed the little lettered thingies in this order...
> Hi all,
>
>
> does anybody know if it is possible to loop through all the fields in a
> mailform. I want to perform the addslashes function and htmlspecialchars
> function to each entered value so i can put it in my db.
>
> Or should I make use of a standard good mailform script? and if so, does
> anyone know such a good script?
>
>
> wilbert
>
http://open.appideas.com/phpMailForm/
If you need to use addslashes or htmlspecialchars, you'll need to add:
$val = addslashes($val);
$val = htmlspecialchars($val);
You may also need to perform these functions on $key, depending on
your needs.
If you want to put the entire message into the DB, you can insert
$Message at the end of the script or individual values can be inerted
using the $key = $val pairs.
Have fun...
Christopher Ostmo
a.k.a. [EMAIL PROTECTED]
AppIdeas.com
Meeting cutting edge dynamic
web site needs
For a good time,
http://www.AppIdeas.com/