I've been using dreamweaver 8 to build a php site for work. its been doing some wierd stuff with my index.php page lately. it was working fine before. but for some reason every time I save my index.php page with dreamweaver it doesn't display anything at all. the browser just displays a blank page. it doesn't matter if I make changes to the code or not, it always displays a blank page if I save index.php with dreamweaver. and the wierd thing is it only does it to index.php. all of my other pages are fine. if I make the changes to index.php with a different editor it works fine. I'm using dreamweaver 8 on a mac (powerbook).
I guess my question is does anyone know if dreamweaver adds some extra code or extra tags to the index page with out me knowing? its pretty annoying to have to switch editors whenever I want to make changes to that one page.
thanks in advance
Wouldf you show the code?
with php it is better to write your code rather then design it...and if you need a good PHP editor serach google for maguma open studio...one of the best php editors around...if you have problems with writing php code just post here...there are alot of people who will help you with any problems you might encounter
I have gone through the code and everything is exactly the same as far as the php code and html tags. I even copy and pasted the exact code from the file thats not working into a new file with notepad and it works fine. but the exact same code in a file saved with dreamweaver shows a blank page. I don't get it.
Make sure you have no leading or trailing spaces at the start or end of your code, DW can be funny about that.
Thats a big understatment!
Dw was designed to make html php was added later i use mx and I dont have those problems. But re: just cut and paste and notepad it then upload it manually also make sure that your not using any... *eurica* ... on DW is no showing online or not in the DW design field. Dreamweaver has a browser/design area that is a bit sensitive to spaces tags and extra tags! clear and extra tages.
And how's the code looks like in simple text editor after saving in DW? Maybe DW screw ups some code - if have problem to check code corectness, thats sign that You should spend more time on learing it.
My recommendation is not to use dreamweaver, honesty.