because we are on the internet.

Some beautiful phrases for you

Just after posting some lover sentences, here we are going to share some beautiful phrases.

They say hard work never killed anyone, but why take the chance.

Always remember that you are absolutely unique. Just like everyone else.

When you’re right, no one remembers. When you’re wrong, no one forgets.

An expert is someone who takes a subject you understand and makes it sound confusing.

There are three sides to every argument: your side, my side and the right side.

Marriages are made in heaven. But so again, are thunder and lightning.

There are two theories to arguing with women.. Neither one works.

Teachers are those who help us in resolving problems which, without them, we wouldn’t have.

By the time a man realizes that his father was usually right, he has a son who thinks he’s usually wrong.

A bus station is where a bus stops. A train station is where a train stops. On my desk I have a work station.

Don’t be so open-minded your brains fall out.

Smile, it makes people wonder what you’re thinking.

Never try to drown your troubles… Especially if he can swim.

I talk to myself because I like dealing with a better class of people.

I’m on a seafood diet. Every time I see food, I eat it.

If you’re too lazy to start anything, you may get a reputation for patience.

 Enjoy reading the above beautiful phrases and have some fun, bloggers.:)

 

Today, we just share some love sentences so that you guys can get a break.

The most happy marriage I can picture or imagine to myself would be the union of a deaf man to a blind woman. — Samuel Taylor Coleridge

One should always be in love. That is the reason that one should never marry. — Oscar Wilde

Love is a word that is constantly heard,
Hate is a word that is not.
Love, I am told, is more precious than gold.
Love, I have read, is hot.
But hate is the verb that to me is superb,
And Love but a drug on the mart.
Any kiddie in school can love like a fool,
But Hating, my boy, is an Art.

And

When you love someone, all your saved-up wishes start coming out.
~ by Elizabeth Bowen (1899-1973) ~

And

My mind is filled up with you,
My mouth is filled up with your taste,
My nose is filled up with yoursmell,
I can not think clear for i am in love.
But it is all clear, I am in love with you.
-Anonymous-.

If you need to write a letter to your lover, you can use above lover sentences.

PHP Variables

A variable is something for storing information.

Variables in PHP

Variables are used for storing a values, such as arrays, numbers or text strings.

Once a variable is declared, it could be used in your script, over and over again.

In PHP, all variables start with a $ (dollar) sign symbol.

Below tells how to correctly declare a variable in PHP script:

<?php $var_name = value; ?>

If you forget the $ sign at the very beginning of your variable, your variable will not work.

Below, we declare a variable contains a number and a variable contains a string:

<?php

$txt = “Hello World”;

$number = 16;

?>

PHP is a loosely Typed Language

In PHP, users do not need to declared a variable before adding any value to it.As what showed above, users do not need to tell the PHP what kind of data type the variable is.PHP is able to converts the variable for the correct data type, all depending on the value of variable.In some other strongly typed programming language, users need to declare the data type and name of a variable before using it.

In PHP, variables are automatically declared.

Rules for Naming Variables

A variable in PHP must be started with an underscore”_” or a letter

A variable name only contains underscores and alpha-numeric characters (0-9,a-z, A-Z, and _ )

A variable can not contain spaces. In case, a variable contains more than one word, users can separate it with capitablization ($myString) or with underscores ($my_string)

PHP Syntax

PHP is a server side language, PHP code is only executed on the server end, and return plain HTML result to the browser.

Basic PHP Syntax:

PHP scripting block starts with <?php and ends with ?>

<?php  ?>

A PHP scripting block is allowed to be placed anywhere in a PHP document.

You can start a PHP scripting block with <? and ends it with ?>, but these shorthand is not recommended.

<?php

?>

A PHP file is allowed to contains some HTML tags, simply like an HTML file, as well as some PHP scripting code.

What you see below is a very simple PHP script, which return to the browser a text “Hello World”:

<html>

<body>

<?php

echo “Hello World”;

?>

</body>

</html>

Each line of code in PHP requires ending with a semicolon.The semicolon is somehow like a separator, it tells the server to distinguish one line of PHP scripting from another.

There are two statements for outputing PHP text: echo and print, as what you read, we have used echo statement to output the “Hello World” text.

Note:Your PHP file must have a .php extension, otherwise, the PHP code can not be executed.

Comments in PHP:

In PHP, there are two types of comments:

// for making a single-line comment, while /* and */ for large comment block.

<html>

<body>

<?php

// This is a comment

/*This is

a comment block

*/

?>

</body>

</html>

PHP Installation

What do you need?

You need a server which supports PHP, if you have a server with PHP supported, there is nothing to worry.If you buy a web hosting, most servers support PHP, so you just need to upload your PHP files to your web directory.In case, you server does not support PHP.You need to install it.

You can follow the official PHP5 installation tutorial: http://www.php.net/manual/en/install.php

Where to download PHP?

Download PHP for free: http://www.php.net/downloads.php

Where to download MySQL database?

Download MySQL for free: http://www.mysql.com/downloads/index.html

Where to download Apache Server?

Download Apache for fre: http://httpd.apache.org/download.cqi

 

About Author

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum at arcu. Integer et risus. Morbi id tellus. Integer felis. Mauris malesuada, turpis vitae facilisis euismod, dui arcu adipiscing sem, eu vulputate leo ante in lacus. Sed porta accumsan lectus. Aenean ac sem. In consequat tempus velit. Phasellus leo enim, adipiscing a, egestas nec, pretium ut, pede. Mauris sollicitudin diam et mauris. Sed quis enim vel augue egestas lobortis. Etiam tempus ipsum vel neque.