mcalel Posted July 29, 2004 Posted July 29, 2004 not too sure how to use dreamweaver mx to edit the page. Can it be done? like changing the design.... in dreamweaver. I try open the page in dreamweaver but only see table of php file and try preview in interenet explore nothing come out. Can anyone please help.. as i like to edit it before I upload onto the web
Mary-at-Milton Posted July 29, 2004 Posted July 29, 2004 mcalel You can edit it with Dreamweaver. Just go to View > turn on design and code view and you will be able to edit the HTML. You will of course have to edit the php in the code window. Hope this helps. Mary-Ann Chief Cook and Bottlewasher Jack-of-All-Trades Running 2.2MS2
mcalel Posted July 29, 2004 Author Posted July 29, 2004 Thanks for the help. I know that but it seen i only see the php icon on the design side and i cant preview it in internet explore. i try open the index.php file in the catalog folder cant see anything when i press F12 in dreamweaver. it ask ( to preview page containing sever-side code you need a testing sever, Would you like to specific one?)
NetCasterDesign Posted July 29, 2004 Posted July 29, 2004 Thanks for the help. I know that but it seen i only see the php icon on the design side and i cant preview it in internet explore. i try open the index.php file in the catalog folder cant see anything when i press F12 in dreamweaver. it ask ( to preview page containing sever-side code you need a testing sever, Would you like to specific one?) PHP is code that has to be run. In order for the code to be executed it has to be done from a server. Upload the file to your website and check it there. That's the only way I know of to test your php changes. That is, unless you have a server on site that you can test off of.
mcalel Posted July 29, 2004 Author Posted July 29, 2004 Can i configure my own computer to be a server? Like using http://localhost/.... use easyphp and it did get me to the install page but I have not apply a hosting space so I would like to edit it on my presonal computer.. Thanks
bglkk Posted July 29, 2004 Posted July 29, 2004 You can use Dreamweaver to edit php, but you won't get much use out of Design View--not much HTML in many pages. Suggest checking Dreamweaver's Rewrite Code options (in Preferences). If they're on, DW will try to automatically "fix" your php. Bad news. "Buy the ticket, take the ride..." -HST
Mary-at-Milton Posted July 29, 2004 Posted July 29, 2004 I have setup a testing server (Apache and MySQL) on my pc and do testing of my shop locally before uploading to the outside world. I'm no expert but have managed to install and run OK so far. I use phpdev and got the software and install instructions from This website. As I said, I am no expert (I'm a middle-aged woman with two grown up children and no previous experience of PHP, Apache or MySQL or any programming for that matter). If you are willing to learn and spend a lot of time in front of your PC and are determined to see it to the end - anyone can do it. And of course, this excellent forum with all the answers in a jiffy. Who could ask for more... There's always someone out there whose been there and done it/had a problem with it. Mary-Ann Chief Cook and Bottlewasher Jack-of-All-Trades Running 2.2MS2
Guest Posted July 29, 2004 Posted July 29, 2004 Well said Mary - and yeah it's not too bad to get it fired up in dreamweaver - you gotta do it logically step by step like defining a site - and naming your testing server etc - which if you've downloaded a 3 part mqsl, php, apache bundle should be with you already if your serious about running locally. You can't start up quickly in DW like you may do with any html file and edit it, your dependent on the local testing server options being set up properly etc - buy maybe you're aware of that. Sean
Recommended Posts
Archived
This topic is now archived and is closed to further replies.