Tagged: php

Friendly PHP Course – Part #2 Using Constants , Maths,Formating numbers,Strings

Deprecated: Function create_function() is deprecated in /home/vhosts/poweredbygnulinux.com/wp-content/plugins/codecolorer/lib/geshi.php on line 4698

Constants Similar to variables , constants are given a name and a value is stored in them they can’t be changed . Used when a value is needed several places in the program and doesn’t change.   define("constantname","constantvalue"); Use echo...