Page is a not externally linkable
sarkye - 10:58 pm on Oct 19, 2001 (gmt 0)
//get columns print("<tr>\n"); print("<td valign=\"top\" rowspan=\"2\">\n"); print("</tr>\n"); The second site builds the page but the links aren't active in NS. Code excerpt for this one is: // get each row print("<tr>\n"); I'm tearing my hair out here!! I've tried removing the variable but NS still won't build a link. NS also puts huge ugly spaces between the rows of the table...why????? If I need to give more info please let me know. This is kind of an urgent case too, the site's been live like this for two months and I didn't know!
If someone can figure this out I'd be *so* grateful.
I have a PHP page pulling data from a mySQL d/base. The same thing pretty much on two different sites. One site works perfect with this code (excerpt):
$id = $row[0];
$company = $row[1];
$url = $row[2];
$description = $row[3];
print("<script language=\"Javascript\">");
print("<!--\n");
print("expnew(\"$newexpire\")\n");
print("//-->\n");
print("</script></td>\n");
print("<td width=\"50%\" class=\"category\" nowrap><strong>$company</strong></td>\n");
print("<td><img src=\"images/pixel.gif\" width=\"10\" height=\"1\" alt=\"\" border=\"0\"></td>\n");
**this is the line in question (works in this site)**print("<td><a href=\"http://$url\" class=\"link\">$url</a></td>\n");
print("<td><img src=\"images/pixel.gif\" width=\"10\" height=\"1\" alt=\"\" border=\"0\"></td>\n");
while($row = mysql_fetch_row($mysql_result))
{
//get columns
$id = $row[0];
$title = $row[1];
print("<td width=\"20\"><img src=\"../images/pixel.gif\" width=\"20\" height=\"1\" alt=\"\" border=\"0\"></td>\n");
**This is the line in question (will not build a clikable link in NS)**print("<td><a href=\"select.php?article=$id\" class=\"article\">$title</a></td>\n");
print("</tr>\n");
print("<tr>\n");
print("<td colspan=\"2\"> </td>\n");
print("</tr>\n");