Hello,
I'm working on updating my church's website. We use PHP for several things on the site. The newest thing we would like to include is a list of upcoming events. I am trying to get it to a point where it will read event information from a file, and then display various items. I have a good portion of it working. What I can't get to work is a OnMouseOver event. Here is what I have so far:
if ($file)
{
while(!feof($file))
{
$date=fgets($file,9);
$title=fgets($file);
$stime=fgets($file,6);
$etime=fgets($file,6);
$info=fgets($file);
echo "<b>". $date ."-". $title;
echo "<onmouseover='return overlib('$title', CAPTION, '$stime - $etime - $info'); onmouseout='nd()'> <br>";
}
}
fclose($file);
The reason we want to do it this way is so our secretary can just go in and edit a text file and then upload it to the server, and it will update the events. This way she will not have to edit the actual HTML/PHP code of the website. Any help would be great.
Thanks,
Rev. Mike Waters