Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get constant value

define("MAXSIZE", 100); //set the value

echo MAXSIZE; //to get the value
echo constant("MAXSIZE"); //to get the same value
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #constant
ADD COMMENT
Topic
Name
4+5 =