Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

define constant in php

<?php
	define("emp_name","Kumar D");
	echo constant("emp_name");
	//or 
	echo emp_name;
?>
Source by onecompiler.com #
 
PREVIOUS NEXT
Tagged: #define #constant #php
ADD COMMENT
Topic
Name
7+8 =