Dynamic constant name in PHP

http://dk.php.net/manual/en/function.constant.php

echo constant($constant_name);

Leave a Comment