Sunday, March 16, 2008

Choosing a hosting

Today there are many hosting services provided. Which one will you choose? Some may choose because of their price, additional services provided, reliability and etc. A good hosting service should be selected or else you want to suffer because of data loses or unavailability of the services.

Here you can find below what exactly to look for when choosing the best web hosting service.
Some aspect that you should take into consideration to choose right hosting servers:

  1. Amount of web space
  2. FTP access
  3. Degree of reliability, security and speed of access
  4. Data transfer (Bandwidth)
  5. Pricing

PHP Comparison Operators

Comparison Operator are use to compare between 2 variable. It will return true of false value.

Below are the common comparison operator use like other languages use.

Operator

Description

==

is equal to

!=

is not equal

>

is greater than

<

is less than

>=

is greater than or equal to

<=

is less than or equal to

PHP Arithmetic Operator

Below are the Arithmetic Operator use in PHP:

Operator

Description

+

Addition

-

Subtraction

*

Multiplication

/

Division

%

Modulus (division remainder)

++

Increment

--

Decrement

PHP Comment

In PHP, // is use to make a single-line comment or /* and */ to make a large comment block.

Examples:

<html>
<body>

<?php

//Single comment use //

/*
Block
comment
*/

?>

</body>
</html>

PHP Basic

PHP is a Server Side Scripting. It is embeded into the HTML code.

Basic code:

<html>
<?php echo "Hello World" ?>
</html>

The PHP code begin with the tag. The output of the code is Hellow World.