S
Stuart Leyland
Guest
Hi all.
Hope you can help me here. I'm trying, with little success so far, to create an email program using PHP. Now I'm a novice in all honesty with PHP but I've copied the code from the book "Beginning PHP4" by Wrox Press in Chapter 15 for anyone that has the book.
Here is my attempt: http://www.2312.co.uk/simple_mailer.php.
As you can see there is an error on Line 98. After counting up to Line 98 I found there were no errors and even copied and pasted the correct line from the code which I downloaded from Wrox's website.
Now my question is split into 3:
1. Is a blank line counted as a line when an error such as the above is displayed?
2. How can I check my code (ie: with a program).
3. What's wrong with this code (it's the one used to create the email program)? I have saved it as a text file at http://www.2312.co.uk/simple_mailer.txt.
Thanks for any help you can offer
Stuart
Hope you can help me here. I'm trying, with little success so far, to create an email program using PHP. Now I'm a novice in all honesty with PHP but I've copied the code from the book "Beginning PHP4" by Wrox Press in Chapter 15 for anyone that has the book.
Here is my attempt: http://www.2312.co.uk/simple_mailer.php.
As you can see there is an error on Line 98. After counting up to Line 98 I found there were no errors and even copied and pasted the correct line from the code which I downloaded from Wrox's website.
Now my question is split into 3:
1. Is a blank line counted as a line when an error such as the above is displayed?
2. How can I check my code (ie: with a program).
3. What's wrong with this code (it's the one used to create the email program)? I have saved it as a text file at http://www.2312.co.uk/simple_mailer.txt.
Thanks for any help you can offer
Stuart