Skip to main content
search
0

How to use constant variable?

By December 20, 2011PHP
Once you declared constant variable you just need to include that file and use variables

<?php
DEFINE(‘PATH’,’http://www.google.com’);
echo PATH;
?>

output 
http://www.google.com

Leave a Reply

37 + = 40

Open chat
💬 Need help?
Hello 👋
We are expert at building website and digital properties. Do you have an idea that you want to bring to life. Let us know and we will build it for you.