Dreamweaver MX and php
I’ve volunteered to edit a site that has pages in php formatting. I use Dreamweaver MX, know some basics and have made/edited sites around html but for no reason used php.
Next time i look at the website in Design view I don’t obtain the page content exhibiting, only the header, footer and menu although I can see the internet page text in Code view so the all there on internet land….
Is it possible to view and edit your website in design look at I don’t learn how to edit code.
Every help really apprieciated!
Hello. Php is the server side language so to discover it you nned to load it with a server. Or you should utilize WAMP/MAMP and developed your PC as being a server enviroment tests.
Or work online constantly.
Make changes, upload to the webhost and view it online.
PHP is required to be executed on this webhost’s server (or your own personal server).
Thanks for the replies. Don’t find out if this actually helps me as well as not…
So basically I can only make changes with a page in php by simply directly changing/editing that code
PHP is a symbol of Hypertext PreProcessor. Thus, the php script is definitely an OO (Object Oriented) dialect, and runs prior to displaying the page. Sort of like how your pc runs through your booting process just before you seeing that login screen.
Unfortuantely as a result of PHP’s nature, you will only edit this source itself, and as a consequence makes using the WYSIWYG ability associated with dreamweaver, almost extremely hard, though somewhat even now fesible.
When you are told to edit a web site page, hopefully not only a CMS, and lets say you have to remove a banner from your php page, one simple route can be to open the mentioned PHP page, hit Ctrl+F (idk in relation to macs) and search the sourcecode for the banner HTML. Now when you are editing a CMS procedure, there may be a template folder and also something simple to edit as being a database.
Most hand coded PHP web pages encompass their HTML while in the php echo job. So some HTML may resemble so:
< PHP indicate " < p> SOME SORT OF paragraph block ingredient. < /p> "; >
PHP echo functions can also be led by parentheses, similar to so:
< php indicate (" < p> SOME SORT OF paragraph block ingredient. < /p> " ); >
There are a pile of other possibilities if editing a PHP website, but the first thing you need to do is determine which kind of PHP site it can be, rather it possibly be CMS, custom, templated, and so forth… then go following that.
Hope this helps somewhat. Worst case, post the PHP file viewing and I’ll show ya
Thanks again for the info. I’ll carry out some researching. I only intend to make some basic improvements so hopefully shouldn’t get too hard!