RadiantEclipseForums II
Hello, Guest! Very Happy Welcome To RadiantEclipseForums, If You Haven't Already Please Register Smile



 
HomeSearchRegisterLog in
REF Now Has A Twitter And A Facebook Fan Page! Go Follow @RadiantEForums, And Like RadiantEclipseForums on Facebook!

Share | 
 

 PHP Tutorial Part 1

View previous topic View next topic Go down 
AuthorMessage
Dumbledore27
Admin
Admin
Dumbledore27

Posts : 337
Points : 6081
Reputation : 13
Join date : 2011-10-01
Age : 20
Location : In a dictionary, under 'A'.

PHP Tutorial Part 1 Empty
PostSubject: PHP Tutorial Part 1   PHP Tutorial Part 1 EmptySun Nov 27, 2011 11:29 am

PHP stands for PHP: Hypertext Preprocessor.
PHP gets executed on the server and is returned to the browser as plain HTML.
PHP has to be downloaded and installed (though most web hosting providers offer it already) from http://www.php.net

Assuming you have a web hosting provider with PHP, we will already start coding.

A PHP code is defined with something like HTML tag. Inside the "tag" we put the codes.

Code:
<?php

//Some code

?>
PHP can also have enabled the short form, which would be:
Code:
<?
//Code
?>

If you installed PHP by yourself, you will be able to enable all that in the php.ini file.

Now we want the PHP code to say something. To output some text. We do that with the echo. It's not a function, but a language construct, according to PHP.net.

Code:
<?php
echo "Hello there!"
?>
This will output:
Quote :
Hello there!

Stay tuned for the next tutorial, when we will do... variables! Smile

________________________
SUPPORT ME:
PHP Tutorial Part 1 Btn_donate_LG
PHP Tutorial Part 1 D27ubREF
PHP Tutorial Part 1 Donate
MyVocabtionary, the best PHP program
Back to top Go down
http://www.myvocabtionary.co.cc
DJ
Member
Member
DJ

Posts : 269
Points : 17
Reputation : -2
Join date : 2011-12-02
Age : 25

PHP Tutorial Part 1 Empty
PostSubject: Re: PHP Tutorial Part 1   PHP Tutorial Part 1 EmptyWed Dec 07, 2011 2:09 am

Hey thanks DD this tutorial will help other users a lot if and when they need help with this including me when i start learning how if i want.
Back to top Go down
http://www.gamingpalace.forumotion.com
 

PHP Tutorial Part 1

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
RadiantEclipseForums II :: Fun :: Coding :: Tutorials-
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Forumotion.com