Created
November 4, 2011 21:39
-
-
Save gakyoo/1340554 to your computer and use it in GitHub Desktop.
How to work around with php functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function function_name($parameters, $param2, $para3 = ""){ | |
// what you want to do with the parameters entered | |
if(strlen($para1 !== 0)){ | |
echo "Has ".$para1." Characters"; | |
} | |
// the third parameter is option you can choose to add | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment