[snip]
?php
if ($TextArea=) {
echo You have to fill out the entire form,
go back and try again.;
} else {
$to = [EMAIL PROTECTED];
$from = From-Test;
$subject = Subject-Test;
$message = $TextArea;
mail($to, $subject, $message,From: $from);
echo Thankyou;
}
?
[/snip]
What is happening when the
ahh, I have to correct myself
replace this: if ($_POST['TextArea']=) {
with this: if ($_POST['TextArea']==) {
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
did you replace ($TextArea=) with ($TextArea==) ?
($TextArea=) will reassign $TextArea to
Pooya Eslami [EMAIL PROTECTED] 2/2/2004 3:00:32 PM
Well the problem is not that it won't get executed, its that every
thing
will be sent except the message in the textarea! subject, to and from
are
Well the problem is not that it won't get executed, its that every thing
will be sent except the message in the textarea! subject, to and from are
sent fine
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pooya Eslami wrote:
Hi, I'm new to php and this newsletter. I have a form on my webpage and a
php file to email it to me but the contents of the text area are not emailed
to me. Can anyone help me with this?
here is the code for my html and php files:
html
headtitleTest/title/head
body
form
You wouldn't happen to be on a windows system? Read the Warning: on the
manual page:
http://www.php.net/manual/en/function.mail.php
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info |
No I only work on *nix platforms
Analysis Solutions [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
You wouldn't happen to be on a windows system? Read the Warning: on the
manual page:
http://www.php.net/manual/en/function.mail.php
--Dan
--
7 matches
Mail list logo