Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.