You could look up the PHP function get_magic_quotes_gpc()
When a form is posted, you could do a check like this:
if ( get_magic_quotes_gpc() ) {
//where $subject contains the subject string and $newsubject is
what you use for the mail
$newsubject = stripslashes ($subject);
}
I tried this:
?php
$sub = Today's news;
$to = '[EMAIL PROTECTED]';
$body = test;
?
mail($to,$sub,$body);
And it seems that it works just fine. If you really want help, you
should post the code that is causing you trouble.
Theodore
ron.php wrote:
I am trying to set up a form which will send
yes, you can have multiple submit buttons, you would simply need to test for
the value of that button on the server
if ($_POST['submit']==delete){
//delete something
}
if ($_POST['submit']==update){
//update something
}
and so one
hth
Bastien
From: Ron Piggott [EMAIL PROTECTED]
To: PHP DB