I wrote mine specially ... it runs with a preview phase which was pretty
tricky to put in ... but the to-value is hardcoded in the script, cuz it
just sends mail to [EMAIL PROTECTED] ... when the user fills in the
form the script checks it for errors, and then either bounce back to the
form if
There are several ways to do this.
Some people like the approach:
if ($submit) { send_email(); }
or you can put a hidden field in your form, like op:
input name=op type=hidden id=op value=send /
and use:
if (isset($HTTP_GET_VARS['op']) ($HTTP_GET_VARS['op'] == 'send'))
{
send_email();
}
I would recomed you to use:
$to_name=$myrow[3].$string; -- Notice the dot . and no
instead of:
$to_name=$myrow[3]$string;
On hitting the submit button, I see the server being called and data being
sent, but
nothing is being received. I'm just wondering if I've appended those two
things