Basic PHP Programming Question:

How do you define a constant in PHP?

PHP Interview Question
PHP Interview Question

Answer:

Via define() directive, like define ("MYCONSTANT", 100);


Previous QuestionNext Question
What does a special set of tags do in PHP?How To Write the FORM Tag Correctly for Uploading Files?