I am making templates for my site for users to be able to use. What would the best way to insert information into the templates?
Find line: [B]This is some text the user will see
[CODE]<div class=”navigation”>
<a class=”nav_link” href=”user_index.php?uname=admin”>Home</a>
<a class=”nav_link” href=”page2.php?uname=admin”>Email</a>
<a class=”nav_link” href=”page3.php?uname=admin”>Images</a>
<a class=”nav_link” href=”page4.php?uname=admin”>Resume</a>
</div>
<div class=”navigation_hor_bar”> </div>
<div class=”body_text”>
This is some text the user will see
</div>
Right now that code is saved in a text file, and the line that I previously showed needs to be changed depending on what the user enters into a text area, then the whole file needs to be saved into the database. How would I go about this?
Would using a different file name be easier to do this?