Go Back   Webmaster Forum > Development > Programming > PHP
REMOVE the ads below !
Reply
 
LinkBack Thread Tools
  # 1 (permalink)
Old
Junior Geek
Posts: 142
Join Date: Feb 2007
iTrader: (0)
Post Php 00 - 09-27-2007

Hello,

I will try to explain some features of php, a small tutorial.

1. What is HTML ?
The language HTML is quite simple. You can write some text, put some images, link to others pages. You can also change colors of your pages, text etc..

2. Why PHP ?
An HTML document is reading by your browser and it's hosting by a server. The server just display the document.
With PHP you can discuss with the server before it display the document. In fact you can give some instruction to a server before sending the page to the browser.
As you can see, you could have HTML and PHP in the same document.

3. And so ?
Because you can send some instructions before any other thing, the reader can't see these instructions. So you could say to the server to display one page or another one. For example a reader speak english and another speak german. you could say to the server to display a special page for each language.

4. That all ?
No, this communication permit you to connect to some database (Mysql basely) and this is very important. You can add, remove etc... into them.
You could also manipulate files and folders on the server.
Sending mail, postcards, message on a forum, guestbook, add your opinion, vote.....
The most different thing between HTML and PHP is to interact with your reader.


I hope my first tutorial is not write too bad.
The next step (and others) will explain the code PHP.


Thanks,
Aqua


-------------------
http://www.aquafolie.org
Reply With Quote
  # 2 (permalink)
Old
Max
Regular Geek
Posts: 338
Join Date: Feb 2007
iTrader: (0)
Re: Php 00 - 09-28-2007

Good keep coming


Yours Sincerely,
Max.
Reply With Quote
  # 3 (permalink)
Old
Newbie
Posts: 10
Join Date: Sep 2008
iTrader: (0)
6 Days Ago

PHP only parses code within its delimiters. Anything outside its delimiters is sent directly to the output and is not parsed by PHP. The most common delimiters are <?php and ?>, which are open and close delimiters respectively. <script language="php"> and </script> delimiters are also available.
Reply With Quote
Reply


Thread Tools



PSD to HTML

vBulletin®, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. | SEO by vBSEO | Skin developed by vBStyles.com