Functions

322
3738 reads

February 28, 2013

Tic-Tac-Toe


Are you ready to play the game of tic-tac-toe against a computer ?
Go on......good luck .

185
3457 reads

February 28, 2013

Receive and Return


The following example demonstrates parameters and return values.

142
1967 reads

February 28, 2013

Instructions for Tic-Tac-Toe


The following example demonstrates programmer-created functions .

139
1564 reads

February 28, 2013

Global Reach


The following example demonstrates global variables.

21
2106 reads

February 28, 2013

Birthday Wishes


The following example demonstrates keyword arguments and default parameter values.

387
3073 reads

February 22, 2013

Creating a new object


This example demonstrates how to create a new object and assign it to a variable.

25
1402 reads

February 21, 2013

Error if the file does not exist


The error you will get is due to the missing file. If file is present it will not give you the error for file.
38
1337 reads

February 21, 2013

Using include_once to include a file


include_once removes the error caused by include if we include the same file twice or more than twice.
31
1447 reads

February 21, 2013

Error if we include twice the same file


Error if we include the same file twice.
31
1472 reads

February 21, 2013

Using the include function


including other php files in the current page.