Posted by Doug Jones on 10/06/36 11:24
I'm at beginning of the PHP learning curve.
Will someone out there help me with this problem.
On the client side the user fills in a form in HTML and submits
with:
<form NAME="Mail" METHOD=POST ACTION="phpemail.php">
snip
<input TYPE="submit" VALUE="Send">
then my PHP code on the server side is:
<?php
$Message = "Customer Name = ".$_REQUEST["Customer"];
$Message .= "\nCompany Name = ".$_REQUEST["Company"];
$Message .= "\nAddress 1 = ".$_REQUEST["Address1"];
$Message .= "\nAddress 2 = ".$_REQUEST["Address2"];
$Message .= "\nAddress 3 = ".$_REQUEST["Address3"];
$result = mail("myname@myisp.net", "Name And Address", $Message);
?>
This does what it should, but it also echos a screen to the client.
How do I stop or prevent the echo?
Thanks for any help
dougjones
Navigation:
[Reply to this message]
|