In a php page "include files" are coming multiple times and various files. We need to configure which include files should come on the top of the page. My code is as follows... Is this correct? or any other suggestions?
<?php
function word_replace($ori,$dup,$text)
{return str_replace($ori,$dup,$text);}
$codec="mp3";
$language="Spanish";
?>
<h1 class="page-title"><?php echo word_replace("string","sentence",$language); ?> List<h1>
<?php include("../assets/inc/player-$codec.inc.php"); ?>