Networking, Programming and Graphics Tutorials

Working with PHP functions [2/2]

You have to know that next in your main PHP code files you should use include("functions.php") to use functions declarated in it.

<?php
include("functions.php");

$min_age=13;
$age=$_POST['age'];

$is_ok=my_func($age$min_age);

echo 
$is_ok;
?>
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Working with PHP functions [2/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: working with functions php  working folder in ftp  trillian webcam not working  working with array classes c++  remote desktop is not working in ccproxy  rdp-tcp plesk remote desktop not working  site preview not working in plesk  emergency repair disk xp not working  site preview is not working in plesk  site preview not working+plesk  working with files unix shell rename  desktop icon label transparet not working  vista remote desktop not working after changing port  functions & types of functions in c++  php how to use functions  how to use functions in php  how many functions in php  PHP where to use functions  c++ functions  php functions for c++