Here's what you wrote, 01.03.30:

>http://www.php.net/manual/html/language.types.string.html#AEN2504
>
>what you wrote looks correct...just make sure you have no trailing
>whitespace on the
>$body = <<<EOQ line (hit return right after the q)
>same with EOQ; it has to be on a line by itself...
>
>best of luck
>jack

Silly me, I kept searching php.net and AIMS for "here document", and 
found nothing. I should have been looking for "here doc".

Also, none of the documentation mentions the fact that there can be 
no white space after the first identifier. It is only specified for 
the closing identifier. I did have a trailing white space after the 
opening identifier. Removing it solved the problem.

Thanks for your help.
-- 
______________________________________

Kristofer Widholm
Web Pharmacy
[EMAIL PROTECTED]
191 Grand Street, Brooklyn  NY  11211
718.599.4893
______________________________________

-- 
PHP General 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]

Reply via email to