/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php switch ($section) { case "projects": echo '<script src="'.$baseincludes.'js-projects.js" type="text/javascript"></script>'; break; case "management-team": echo '<script src="'.$baseincludes.'js-management.js" type="text/javascript"></script>'; break; } ?>