Re: [PHP-WIN] email script...

2001-12-11 Thread Anthony Ritter
Thanks Ross. It works fine. TR -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-WIN] email script...

2001-12-11 Thread Ross Fleming
Easy one this. You've if (send!="no") { do all the send stuff} where you should have if ($send!="no") {do all the send stuff} note the $ sign that tells PHP to reference the variable. It should work now but I haven't looked very closely at it yet Ross Anthony Ritter wrote: > > I'm working t

[PHP-WIN] email script...

2001-12-11 Thread Anthony Ritter
I'm working through Julie Meloni's book PHP - Fast and Easy using MS Win 98 with Apache. She has an example of a PHP script where both the html form for input and the php code to send the form are in one php script using the mail() function and the $PHP_SELF global variable. I've included the co