Basic PHP Programming Question:

How do you define a constant in PHP?

Tweet Share WhatsApp

Answer:

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

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