What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » HTML > PHP

HTML > PHP
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
RE: HTML > PHP
HTML and PHP are very different. HTML is used for your browser to pick up on read-able code and form objects using it, which is what you see on your screen. PHP is a server addon designed to allow dynamic content. It basically is a web server language, in a syntax similar to C.

PHP 'echos' or 'prints' HTML code using a variety a formulas to decide what HTML for the web server to load into your browser. A simple example of this is check the day of the week. A simple peice of PHP code can be used to check the date:

code:
<?PHP
$date = date('D');

if ($date == 'Mon')
{
     echo "It's monday";
}

else
{
     echo "It is not Monday";
}
?>

Of course you can't do this with HTML. PHP is something needed to be installed on a server, whereas HTML code is something all up to your browser. The 'echo' used shows the HTML code like you would normally, but the PHP checks to see what code should be echoed :P


Edit: There is no such thing as converting HTML to PHP, and your best chance is to post your HTML page and explain what is not working ;)

This post was edited on 11-28-2006 at 04:58 PM by absorbation.
11-28-2006 04:56 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
HTML > PHP - by Eddie on 11-28-2006 at 01:55 PM
RE: HTML > PHP - by xJ + on 11-28-2006 at 02:00 PM
RE: HTML > PHP - by Adeptus on 11-28-2006 at 02:03 PM
RE: HTML > PHP - by RaceProUK on 11-28-2006 at 03:21 PM
RE: HTML > PHP - by absorbation on 11-28-2006 at 04:56 PM
RE: HTML > PHP - by RaceProUK on 11-28-2006 at 07:18 PM
RE: HTML > PHP - by Mike on 11-28-2006 at 07:21 PM
RE: HTML > PHP - by rav0 on 11-30-2006 at 10:33 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On