Basic PHP Programming Question:

Download Job Interview Questions and Answers PDF

How do you define a constant in PHP?

PHP Interview Question
PHP Interview Question

Answer:

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

Download PHP Interview Questions And Answers PDF

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