PDA

View Full Version : Errmm....ehh...


Radon3k
02-18-2002, 07:40 AM
Ok so I'm trying to make a hack...I know nothing about PHP and MySQL but I'm tryin it anyway...Someone requested that for the calendar, that you be able to display the events of the day/month/etc. This is what I've done:

In calendar.php I found:
$eventid = $event[eventid];
around line 190.

I created a new *.php page and what it says is this:
<?php echo $event [eventid]

However, I want it to link, such as this so that it links to the script:
<?php echo $showevent = <a href="showevent.php">Today's Events</a>; <br> echo $event [eventid];

Then, in the template calendar I found
<nobr><b>$nextmonth</b>

and tried to add:
<b>$showevent</b>
so that where it has the links for the prev. month and the next month, right after that would be a link to "showevent.php" and that would display today's events. Any suggestions? What am I doing wrong? Thanks in advance! :)