Thanks to anyone who helps! I searched and could not find an answer.
This code used to work.. but been a while since I have done anything in php. Need some help?
What I am trying to do is have my links pull info on a separate php file and put in my main table on page. Therefore the main webpage does not have to load each time. Just text on main change. Here is my old code so you get an idea..
This is in the table I want my info to appear..
<?php / START MAIN AREA HERE /
if($news) include("news.php");
elseif($bio) include("bio.php");
elseif($draw) include("draw.php");
elseif($pic) include("pic.php");
else include("news.php");
/ END HERE /?>
My links have mouseovers..and look like this..
<A HREF="?news=x" ONMOUSEOVER="changeImages('home', 'images/home-over.gif'); return true;" ONMOUSEOUT="changeImages('home', 'images/home.gif'); return true;"><IMG NAME="home" SRC="images/home.gif" WIDTH=69 HEIGHT=31 BORDER=0 ALT=""></A>
Do i need to create each page in my MySQL Databases ? Or just add the php page in the same directory? I don't remember?
THANK YOU!