Forum Moderators: coopster
Since switching over to Dreamweaver MX, however, I cannot edit pages with PHP includes in them, using MX. I have to open them up in an older version of Dreamweaver because they don't display correctly in the newer version.
I even tried inserting the code for the include using Dreamweaver's "Insert" menu.
Here's what happens: I insert the include tag and then specify the PHP page to be included. If I put quotes around the name of the include file, such as "ad1.php", the page immediately gets all messed up while viewing it in Dreamweaver MX. It displays correctly in a browser and in older versions of Dreamweaver, but not in MX.
If I remove the quotes from around the filename in the include tag, it displays correctly in MX, but when I upload it and view it in a browser, it generates the following error:
Warning: main(ad1php): failed to open stream: No such file or directory in /home/sriba/public_html/index1.php on line 89
I make no claims to being a programmer or an expert in any of this, so this has me somewhat baffled and frustrated. I'd really like to be able to edit these pages using MX so I can take advantage of it's newer features, etc.
Does anybody have any input for me on this one?
Thank You in advance.