Hi Folks-
I'm new to PHP, but not to programming. Recently, I went back to using an Apple after some years of battling with PCs. The install of the server software on my Mac is only a few days old, and I found this problem while checking out the installation.
Here are the suspects:
OS X Panther, Apache 2.0.48, PHP4.3.4, DW MX 2k4
Here's the issue:
A short program I entered uses heredoc syntax for a repetative print. When I execute the page, a parse error returns referenced to the line of the closing identifier.
The same program is included on a CD that came with one of my how-to books. I can view the code in DW with no problem and that copy of the program executes just fine. Howerver, if I copy-paste-save the entire program to a new file, then execute it, I get the same parse error. Ditto if I edit-save the code copied from the CD. The best I can figure is that the problem is in saving from DW.
Several trips thru the DW preferences settings (as well as help files, other forums, PHP Manual...) haven't shown me anything obvious that might cause this sort of behavior.
Any and all thoughts on this are welcome.
Thanks,
B-