Right now the book called PHP5 Power Programming is helping me.
Itll let me learn few basic code which i prefer it that way and i hope i can create MySQL & PHP Application and other app that use PHP5.
im not reading any of chapter 1 but just go straight to chapter 2 that consist Basic Language.
this code is HELLO WORLD with HTML Embedding.
<html>
<head>Sample PHP Script</head>
<body>
The following prints "Hello, World"
<?php
print "Hello World" ;
?>
</body>
</html>
this will lead to this output
<html>
<head>Sample PHP Script</head>
<body>
The following prints "Hello, World"
"Hello World"
</body>
</html>
Comment
/*
* this is C way
*/
// this still is c way
# this is shell way
VARIABLES
its very different from C and Java you dont need to declare their variable before using them, you dont declare their type as result variable can change their type of its value as much as you want.
Subscribe to:
Post Comments (Atom)
Starting to Learn Wordpress
I'm gonna start learning wordpress again. I know it's been a while and I'm using Blogger to write everything. I don't know...
-
Well if you don’t know what is Yii Framework. I recommend just go to the main site http://www.yiiframework.com And then http://www.yiiframe...
-
Read the first Part :: Contain the database and basic creating / generating models / crud CJUIDIALOG In these part 2 I will concentra...
-
im currently doing project using PHP 5 and MSSQL SERVER 2005. they use different server. one for web server and the other one is for Databas...
No comments:
Post a Comment