answersLogoWhite

0

there are in fact two basic methods - one is called minimal PHP, and the second tends to be referred to as the CGI-way.

minimal php means that you're making php secions in HTML only where really necessary (using the php section begin (<?php ) and end (?> ) tags.).

the CGI-way, or maximum PHP means, that you're in fact embedding HTML into strings in php, and the whole page is echo()ed.

the second way tends to be viewed as an abuse of php by some people, as php was meant to be "templating" language, and designed to be used mainly the first way.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you display data in other HTML page retrieved from post method?

You can used various methods for retrieving data in HTML. JavaScript, Servlets etc are some ways to get data.


What are the ways in which the presidency is understood to be an independent office?

&lt;html&gt; &lt;h1&gt; hi &lt;/html&gt;


How can you fix MySpace text?

There are a lot of ways on how you can you can edit your text in myspace.. but what's so common with those, is that most of those ways, uses HTML or css coding which can't be understood by users without background on HTML. but what's good with the technologies nowadays is that there are sites like what I'm currently using it http://www.ugotbling.com , on that site there's this what you called a profile editor which allows you to edit your profile on myspage (including all those fonts, grapx and etc) without a manual coding of HTML. u just need to tell the site what you want and then the site will automatically generate codes for you. thank you! i hope that my little information have helped you.


How do you put HTML in PHP?

Its done exactly the same as when you put it in an HTML file. There are 2 ways you can do it: &lt;html&gt; &lt;?php // php stuff ?&gt; &lt;/html&gt; Or you can do it like this: &lt;?php echo "&lt;html&gt;"; // php stuff echo "&lt;/html&gt;"; ?&gt;


How do you use styles in HTML?

Styles can be used in 3 ways in HTML. Externally as a file, Internally on the top of a page and inline between HTML.


What are three aspects that can be controlled by CSS?

CSS can be integrated in three ways: Inline: Style attribute can be used to have CSS applied HTML elements. Embedded: The Head element can have a Style element within which the code can be placed. Linked/ Imported: CSS can be placed in an external file and linked via link element.


What is the tag that will set the text to italics and 12pts and itis often used to indicate about the webpage designer or owner?

There are various ways to accomplish the task. Here is an HTML 5 solution: Author name. you also could use the HTML 4 Author Name, but you get better control by using the HTML 5 style option.


How do those xml differ from HTML?

XML is different from HTML in many ways. XML can be used mainly for mobile designing while HTML for web designing.


How could one upload own music videos on Yahoo website?

There are several ways to upload a video to a Yahoo website. If the website and the video belong to you, you can upload the videos through a client to your webpage. You can embed the video if you have a YouTube or other video hosting account and either include a link to the video or use the "embed html" function to add the video using the HTML coding.


How can i create my websit?

There are a few ways you can do it. One way is to learn HTML and code it yourself, then either set up your own server or find a web host. But if you don't want to learn HTML, you could learn a free sitebuilder like Webs.com.


What are the Various ways of handling Export Sales?

various ways in handling exports sales


Can a website be edited in Google Chrome?

Depending on how you want to edit it: HTML, online HTML editor, or online wizard, any of those ways though it should work