I have following scenario.I am creating a config page where I set the format in one place. I am using this format in more than 10 php pages.
//Settings
$format = "$one $two $three";
$one = 1;
$two = 2;
$three = 3;
echo $format;
//This should output 1 2 3
Right now if I want to change the format I need to change "$two $one $three" in all 10 pages ,, how can I set this in one place and reuse it in multiple place.Is this possible in php ?
P.s :
My scenario : I have settings.php , where I set $format = "$one $two $three"; , I am including settings.php in all 10 pages.... When I change $format in settings.php it should should be reflected in all 10 pages..without much work.
$format =line after$three =.