Jump to content

href tag isn't working properly


simflex

Recommended Posts

Hello again experts:

 

I have been trying to apply the href tag so that when a user clicks on the title or loc fields, the user will be taken to the details section of the calendar.

 

I am not having any luck.

 

Can you please, please help?

 

Here is the copy I am working on.

 

Many thanks,

 

    echo "<a class=smallcalmth target=_WINPOP href=" ;
    echo "'"."cal_day.php?op=day&catview=".date("Y-m-d", mktime(0,0,0,$smmonth,$i,$smyear))."'>" ;

    echo "<table border=0 cellspacing=0 cellpadding=0 width=100%>" ;
    while ($row = mysql_fetch_object($result)){
echo "<tr><td align=center valign=top>" ;
echo "<table class=eventborder cellspacing=0 cellpadding=0 width=100%><tr>";
if ($notimeentry==0) {
  echo "<td align=center class=eventtimeborder valign=top>" ;
  echo "<div class=smallcalevtime>";
  if ($row->starttime=='') echo "   " ;
  else showtime($row->starttime,$row->endtime,1);
  echo "</div>" ;
  echo "</td>" ;
}
echo "<td align=left valign=top width=80% class=eventborder>" ;
echo "<div class=smallcalev><b>Subject:</b> ";
      echo subquot(stripslashes($row->title));
echo "</div>" ;

echo "<div class=smallcalev><br/></div>" ;

echo "<div class=smallcalev>@ ";
      echo subquot(stripslashes($row->loc));
echo "</div>" ;

echo "</td></tr>" ;

echo "</table>" ;
    }
  echo "</table>" ;
  // overlib line
  echo "',FGCOLOR,'$overlibbgclr',TEXTSIZE,'1',WIDTH,'180',VAUTO,HAUTO);\" onmouseout=\"return nd();\">";
  }

  echo "<div class='datenumfont'>".$i."</div>" ;
  if ($devtcnt!=0) echo "</a>";
  echo "</td>\n\n";
  $a++;

Link to comment
https://forums.phpfreaks.com/topic/207852-href-tag-isnt-working-properly/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.