RE: [PHP-DB] Email Form

2003-09-16 Thread Jacob A. van Zanen
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

Re: [PHP-DB] Email Form

2003-09-16 Thread Philip O'Rourke
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,

Re: [PHP-DB] Email Form

2003-09-16 Thread Philip O'Rourke
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

RE: [PHP-DB] email form

2002-12-10 Thread Ryan Jameson (USA)
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]

RE: [PHP-DB] email form

2002-12-10 Thread Ryan Holowaychuk
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

RE: [PHP-DB] email form

2002-12-10 Thread Frank M. Kromann
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