I am a complete PHP noob and whilst I have done some HTML and CSS, I am not even sure if PHP is the best way of doing what I want to do. I am also not sure of the correct way of phrasing what I am trying to do, so unsurprisingly, I haven't found anything in the forums or on the web.
Here is my sample code:
<table width="660" border="0" align="center" cellpadding="0" cellspacing="0" > <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td> <div id="sidebar"> <h2>What people are saying</h2> <ul> <li><a href="#">First update link</a></li> <li><a href="#">Second update link</a></li> <li><a href="#">Third update link</a></li> </ul> </div> </td> <td id="content"> <h2>Update the text in the next paragraph.</h2> <p>that would be here</p> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table>
As hinted at in the above code, when one of the unordered list items is clicked, it should update the body text below, either with a couple of paragraphs of text stored in a variable in the page, or maybe stored in a separate text file, I don't mind which.