Email
2010-10-25 @ 21:08:07
Manchester United Football Club
Sir Matt Busby Way
Old Trafford M16 OQR;
Manchester, Anglia

Dear Manchester United Team
My name is Rafał Guźniczak. I live in Poland and I have 16 years old. In our country we are organizing charity action for a seriously ill Tomka Radomskiego the occasion of his 18th birthday.
Tomek has incurable genetic disorder Ehlers-Danlos syndrome-syndrome type 6 which cause muscle atrophy. This disease also destroyed his eyes (he has30 diopters defect in both eyes).
Illness began to destroy his ponds. Tom can't cut anything with a knife, scissors. Unfortunatly after one month in high school he had to stop learning in school but he didn't give up. He are processing school's material through ESKK (correspondence courses) for few months.
Unluckily disease didn't want to stop. For year it's destroing Tom's muscle.
"Tom weighs only 44 kg and is 177 cm tall, and unfortunately the last few days have further to go on parenteral nutrition ...

Tom waits a long struggle. Every day, bravely facing up to the next adversity. Let's show him that he is not alone in this fight! "
Therefore, I'm kindly request to send autograph of players in his favourite footbal team.

For him it will be a huge suprise becouse he is your big fan and he loves football although he can't play since three years.

Please reply very fast becouse Tom's birthday is on 9th of November.
If you would like to take part in our action and make Tom feel happy please answer me by email below.

Sincerely yours,
Rafał
PHP Basic
2010-10-05 @ 23:23:02
http://www.thegeekstuff.com/wp-content/uploads/2008/07/php-logo-300x158.png


Hi! This is my blog where I will add tutorial about making website.

First part is about basic of PHP. So let's begin :)

PHP Introduction
Before we write some easy script you should know what is it PHP.
Sometimes when you get to some site you can see in link for example index.php .
This php in the end is file extension, which tells us that this is a php file. PHP file can contain text, HTML tags and scripts.

But in general PHP is a server-side scripting language. PHP also supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.).

Ok, enough of this teory.

What will you need?

There is two options:
- first:
localserver for example WebServ 2.0 or Krasnal
- second:
web hosting. It could be free server.

Why we need server? As I wrote, PHP is server-side scripting language. This means that server processes our code.

And you also should have a basic understanding of HTML.


Of course last thing is editor :) I use notepad++ or keD2.


First code

When you want use PHP you have to starts with <?php and ends with ?>.

You can put it anywhere in the document.

For example:
<html>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>

This is PHP's code in HTML tags.
This simple code sends the text "Hello World!" to the browser.

We use echo or print to output text. We put our text to display in quotation marks and each line in PHP must end with semicolon.

And today it is all. In next post I will write about comments and variables in PHP.

Bye

This is english blog. User writes in english. If you would like to have blog like this, you can register your own for free.
Register your own english blog
Język angielski matura z angielskiego Gramatyka angielska