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
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.
?php require_once('../Connections/casu.php'); ??php
session_start();
function GetSQLValueString($theValue, $theType,
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
End script
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]
This is where I am stuck, I can not get the variables to be placed in to
the email.
/* message */
$message = '
html
head
titleQuote Request/title
/head
body
font size=4 face=Arial, Helvetica, sans-serif font color=#FF
table width=105% border=0 cellspacing=3 cellpadding=2
tr
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