Thread: Php
View Single Post
Old 01-21-2008, 02:22 AM   #5 (permalink)
dansgalaxy
 
Status: Newbie
Join Date: Oct 2007
Location: Swindon, UK
Posts: 23

Rep Power: 21 dansgalaxy is on a distinguished road

Send a message via MSN to dansgalaxy Send a message via Yahoo to dansgalaxy


Default

*roll eyes*

Lol,

Okay in html/CSS you cant do simple things like:

1+1=2 and have it work it out

but in php you can do something like:

$total = 1+1;

echo $total (will show 2)

and thats the simple stuff...

HTML/CSS/XHTML is ONLY a display/Markup lanagage which controls the look at layout, all the server does to a html file is simple send it to the browser.

if the server reconises it as PHP it will put it through the PHP parser which works it all out and if you like it creates the final set of html and THEN apache sends it to the browser...

:D
__________________
Honest, Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: freelancegossip
.::XDnet.co.uk::.
dansgalaxy is offline Add Infraction for dansgalaxy   Reply With Quote