How to Define a Constant in PHP? Is $ symbol necessary?
Answer Posted / saurabh rastogi
define("CONSTANT", "Hello world.");
echo CONSTANT; // Outputs Hello world
| Is This Answer Correct ? | 46 Yes | 3 No |
Post New Answer View All Answers
Can I write php code in html file?
What is the use of ajax in php?
What does the arrow mean in php?
How to write php function in html onclick?
Which function would you use to format date information in php?
How do I clear my browser session?
What happens when submit button is clicked?
What are the features of php 7?
Is php pass by reference or value?
What is the difference between $message and $$message in php?
How to set session.gc_divisor properly?
How does csrf attack work?
Name some of the popular frameworks in php.
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
How to convert strings to upper or lower cases?