Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Friday, April 27, 2012

[PHP] If-Then-Else Syntax

          Hello, Reader ^^! Back again with source code. This time is a basic syntax If-Then-Else in PHP programming language. This source code is to show how to do If-Then-Else statement in PHP language. Here's the template:


if <condition> {
       <statement if true> 
} else {
       <statement if false>
}


Okay, that's all I can say. Thank you for reading ^^!

Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)







[PHP] If-Then Syntax

          Hello, Reader ^^! Back again with source code. This time is a basic syntax If-Then in PHP programming language. This source code is to show how to do If-Then statement in PHP language. Here's the template:


if <condition> {
       <statement if true> 
}


Okay, that's all I can say. Thank you for reading ^^!

Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)







Saturday, March 24, 2012

[PHP] Factorial

          Hello, Reader ^^! Back again with source code. This time is a simple Factorial which is written in PHPprogramming language. This one will calculate factorial calculation. The GUI is still viewed with HTML but when the button is pressed, the PHP will work calculating the input you put. Okay, that's all I can say. Thank you for reading ^^!


Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)





[PHP] Hello World

          Hello, Reader ^^! Back again with source code. This time is a simple Hello World. Yeah, it is Hello World again but this time with PHP programming language. Well, I have assignments which need PHP to do it so I decided to learn this too and post some example of it here. Okay, that's all I can say. Thank you for reading ^^!

Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)