Saturday, April 25, 2009

real work

In last ECOM 270 class, I spent about 3 hours with my friend Badrya in PHP program. We found new website and it was really helpful, even that our teacher ask us to send him the link. We tried a lot of things and this was our first time in real working with PHP program. It was really interesting because we tried different things and we faced some problem so we asked our teacher for help. Even when we ask him, he tried to help us but not by giving us the answer. He said the best way to learn is by discover the answer by our self. In my opinion, it’s not an easy program and it needs to spend a lot of time to learn how it works correctly.

Saturday, April 18, 2009

I am too Late

During this week, in ECOM 270 class, I download the mysql program. Then, I set in a group with students who have the same part in their groups as me which is PHP program with our teacher. Also, I shocked that all information which I need it and I search for is in http://localhost/xampp/. In addition, teacher tells us that we are really very late in our progress and we have to work very hard and spend more time to learn how we should use PHP program. Because of this, today I spent hours in PHP tutorial in the http://localhost/xampp/ so i can understand and then ask my teacher if i don't understand any point .

Saturday, April 11, 2009

PHP Second Lesson

During this week I didn’t get a lot of time to work in PHP because I have a lot of work to do but still I learned something new and very important.


Basic PHP Syntax
A PHP scripting block always starts with . A PHP scripting block can be placed anywhere in the document.
A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting code.


Each code line in PHP must end with a semicolon. The semicolon is a separator and is used to distinguish one set of instructions from another.There are two basic statements to output text with PHP: echo and print.
Note: The file must have the .php extension. If the file has a .html extension, the PHP code will not be executed.

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


All this information I learned from www.w3schools.com.

Saturday, April 4, 2009

Start learning PHP