How to define a constant in PHP ?

Use define() directive to define a constant in php.
example-
(“MY_CONSTANT”,10);


Advertisements

Add Comment

📖 Read More