I am trying to build a small news page in php. so far i have manged to build a page to add a story to the database and display the storys in order on the frontpage.
how ever what i would really like to do is add links that can be called in a java script.
eg. insted of the the link being <a herf="mypage.htm> it would be
<p class="smalltext" onMouseOver="MM_openBrWindow('mypage.htm','popup','width=600,height=40400')"></p>
so my question is, is there a way using php and mysql to enter a link into the database simply as mypage.htm and then when when it is needed the rest of the html is added automaticly