Are you asking what tool people use to write those pages? Personally, I tend to use Dreamweaver. Although it's not unusual for me to use a text editor, either. On my PC, I use Scite, and on my Mac, I use TextWrangler
I think I get what is being asked, which style of coding do you use:
PHP Page I think means where the entire file is basically wrapped in <? ?> tags, and most all content sent to the browser is outputed by php (echo's etc.)
PHP Script in a HTML page I think means where most of the file is a true HTML file, which php code inserted just in the areas needed. (ie, all layout and everything is regualr HTML code, yet the content (say the rows from a database done from PHP) is just in the middle of a file.
Myself, it depends on the size of the project. The main project I maintain it is all a script, every file starts with <? and ends with ?>, as the layout and everything is pulled and outputed from template files based on which module you are on.
Small projects, I will just add the php code in the middle of the regular html page. Also depends on what the php does.
timjpriebe posted this at 13:39 — 15th June 2006.
He has: 2,666 posts
Joined: Dec 2004
Are you asking what tool people use to write those pages? Personally, I tend to use Dreamweaver. Although it's not unusual for me to use a text editor, either. On my PC, I use Scite, and on my Mac, I use TextWrangler
Tim
http://www.tandswebdesign.com
Greg K posted this at 00:59 — 16th June 2006.
He has: 1,665 posts
Joined: Nov 2003
I think I get what is being asked, which style of coding do you use:
PHP Page I think means where the entire file is basically wrapped in <? ?> tags, and most all content sent to the browser is outputed by php (echo's etc.)
PHP Script in a HTML page I think means where most of the file is a true HTML file, which php code inserted just in the areas needed. (ie, all layout and everything is regualr HTML code, yet the content (say the rows from a database done from PHP) is just in the middle of a file.
Myself, it depends on the size of the project. The main project I maintain it is all a script, every file starts with <? and ends with ?>, as the layout and everything is pulled and outputed from template files based on which module you are on.
Small projects, I will just add the php code in the middle of the regular html page. Also depends on what the php does.
-Greg
[This space intentionally left blank]
Cool Geek Supplies: www.ThinkGeek.com