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



 
HomeFAQSearchMemberlistUsergroupsRegisterLog 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
avatar

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

PostSubject: PHP Tutorial Part 1   Sun 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

________________________
Back to top Go down
View user profile http://www.myvocabtionary.co.cc
DJ
Member
Member
avatar

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

PostSubject: Re: PHP Tutorial Part 1   Wed 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
View user profile http://www.gamingpalace.forumotion.com
 

PHP Tutorial Part 1

View previous topic View next topic Back to top 

 Similar topics

-
» which part of toronto is grass roots canada located?
» need part for caberg helmet
» A/C hose part #
» s14 part out everything must go
» Nissan '95 240sx SE part out
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 | Free forum