1) As for the nesting thats fine, I thought sections were clear, I suppose
not.
2) My apologies there, my client says that line wrapping is turned on.
3) The full text of the error message isn't very helpful at least not to me.

Parse error: parse error in /www/foo/htdocs/updates/functions.php on line 30

4)As for just the line in question:
mail ($to, $setting_site_name, $mailpost, $headers) or $emailsuccess =
"Failure sending email.";

Is that more helpful.  Or can you show me what exactly the error message is
saying so I can apperently easily go fix it.  Maybe I just don't understand
the small details of reading the error message.

Anti-Blank

----- Original Message -----
From: "Analysis & Solutions" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 12:37 PM
Subject: Re: [PHP] Parse Error in my Mailing Code


> Dear Anonymous Person:
>
> To solve your problems and get prompt, accurate, friendly help from this
> list please...
>
> 1) Write readable code.  By that I mean use nesting.  That way we, and
>    might I add, you, can quickly understand the logic of your script.
> 2) Turn line wrapping on in your email client.
> 3) Post the full text of the error message in question.
> 4) With simple things like parse errors, start by posting only the line
>    with the error.
>
> But, before even getting to that point, go take a look at the error
> message and figure out which line is line 30.  Fix the error on that
> line that's explained in the error message.
>
> --Dan
>
> --
>                PHP classes that make web design easier
>         SQL Solution  |   Layout Solution   |  Form Solution
>     sqlsolution.info  | layoutsolution.info |  formsolution.info
>  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>  4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to