I am here in search for a new method. I have defined the value of $SHOW_REALTIME_DATA_BUTTON_LABEL
in another php file like this:
english.php(file name)
define("SHOW_REALTIME_DATA_BUTTON_LABEL","Select realtime data");
...and I want to display that value in another file inside the echo statement like this:
echo '<a class="'.$class1.'" href="'.$link1.'"><span>'.$SHOW_REALTIME_DATA_BUTTON_LABEL.'</span></a> <br>';
In brief, I have to echo the value 'Select realtime data' in between spans.