My Last post seems to have generated some sort of spam alert, so I'll attach
the file.
"Jacob A. Van Zanen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
>
>
> Combine the two scripts
>
> Begin script
> Accept the post variables
> Insert them into the database
> Mail them
> E
Hi Jcck,
here is an example of how I'm connecting to the database to complete a
registration process. What I'm trying to get at is where to insert the
relevant email code.
Untitled Document
Id:
User_name:
FName:
Hi,
Combine the two scripts
Begin script
Accept the post variables
Insert them into the database
Mail them
End script
jack
-Original Message-
From: Philip O'Rourke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 10:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Email For
Hi,
When you use single quotes to define your strings php variables will not
be replaced.
Try
$message = "...$customer..";
You will have to escape all double quotes used in the string (\") or use
single quote.
- Frank
> This is where I am stuck, I can not get the variables to be placed in
to
This is where I am stuck, I can not get the variables to be placed in to
the email.
/* message */
$message = '
Quote Request
Customer: = "$customer"
etc.
I believe that I am not using the proper syntax for placing the customer
field ($custome
Try the mail function, you can get creative and use html as well. It's documented:
http://www.php.net/manual/en/function.mail.php
<>< Ryan
-Original Message-
From: Ryan Holowaychuk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 4:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB]