Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Viewing PHP script in Dreamweaver *Screens*


mrserv0n

Recommended Posts

Posted

I could not figure out how to implement a cart system in my html site so I decided to try this osCommerce refereed to me by a friend, I use dreamweaver usually, Problem is unlike HTML code with php I cannot seem to see my changes in the Design Window as shown. Is there a different editor or a way to see your changes taking affect when modifying php?

 

http://i22.photobucket.com/albums/b310/mrs...n/website-1.jpg

Posted

You are not seeing the PHP code because PHP is executed by the webserver - not the browser. In order to see PHP you need to upload your file to a webserver and then surf to that page in a browser.

 

You can also install Apache, PHP and MySQL locally on your computer and surf to pages on your C:\ drive by using http://localhost/oscommerce/[some file]

Posted

Yea I understand that, even If I connect to my webserver through dreamweaver it still blocks the php from viewing in the design screen.

 

I just am annoyed that I have to change code then look in my browser and refresh to see the changes as opposed to them being done on the fly in Dreamweaver

Posted

install easy php (or similar) on your computer and have an open browser window with the file your changing displayed, a quick click on the refresh button will display your changes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...