Searching...
23 Nisan 2013 Salı

PHP 4. Tutorial - Functions

10:09
Hello,
This is 4. tutorial for PHP.

This functions is private and user maked functions.
<?php
function sayHello()
{
echo("Hello");
}
?>
If you try this, you can see blank screen.. If you want see 'Hello' world, you must get function.
<?php
sayHello();
?>
You can use variables when calling functions.
<?php
function outputHTML($data)
{
echo($data);
}
outputHTML("This Is User Maked Function");
?>
Next
This is the most recent post.
Önceki Kayıt

0 yorum:

Yorum Gönder