I`m a total newbie in php, so sorry for my simple question. Need to know step by step.
EXAMPLE : index.php
<html>
<header>
-including a file (/lang.php for example)
</header>
<body>
<div>
<a href="aboutus.php"> - word1 - </a> | <a href="contact.php"> - word2 - </a>
</div>
</body>
</html>
EXAMPLE : lang.php
word1 = ABOUT US
word2 = CONTACT
How to make this work the most simple way?
lang.php will be something like:
And in your other file you will have
Remember:
$<?phpand?>tags (or<?and?>if your server is configured to accept short tags)<header>tag in HTML. Maybe you are thinking of<head>. Anyway,includestatements do not necessarily need to be in there