breezy Posted August 5, 2005 Share Posted August 5, 2005 I'm new to Dreamweaver and am trying to create a dynamic website. Installed MySql etc. and have the connections to the database through dreamweaver set up no problem at all. I can preview .html pages after creating the template with fireworks through localhost, however after changing page extensions to .php they preview as a blank screen?? What's going on? Can anyone help??? Thanks, Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 5, 2005 Share Posted August 5, 2005 Are you viewing your PHP pages in Design View to lookat your page looks like within Dreamweaver? If so then you'll need to set up a project in Dreamweaver, if you successfully set up a project in Dreamweaver a Live Preview button should apear / activated once clicked it should process a preview of your PHP Page. Quote Link to comment Share on other sites More sharing options...
breezy Posted August 5, 2005 Author Share Posted August 5, 2005 I've created a project site, and can view all .html pages stored with in it using the live button. I can even view php pages i.e. print out tables from a random database I created going live. However, any page where i've used a template from fireworks with .php ending cannot be seen. I've tried the <?php phpinfo() ?> (which works using bbedit with the other browsers on local host) through dreamweaver however that does not work. It just reproduces the line of code!!! Why isn't this working properly???? Please some one put me out of my misery!!!! Quote Link to comment Share on other sites More sharing options...
neylitalo Posted August 5, 2005 Share Posted August 5, 2005 I don't believe Dreamweaver knows how to run PHP code - and therefore will do nothing with it. If you want to see what it's going to look like, you're going to have to run it through the PHP executable (php.exe) somehow, but I'm afraid I don't know the specifics of doing that. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 6, 2005 Share Posted August 6, 2005 neylitalo, Dreamweaver can preview .php files, but it requires you to create a project for using PHP files, if you created a project suscessfully, Dreamweaver has a button called Live Preview, which just opens a window and renders the code. Make sutre you have the testing server settings configured, thats how I got DW to preview my PHP pages. Quote Link to comment Share on other sites More sharing options...
V-Man Posted August 14, 2005 Share Posted August 14, 2005 How do you create a project in DW? Never heard of or used that feature... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.