Bubblenut,
The page I am having an issue with is online at:
http://www.ptideas.com/dev/printtech/pt2a.php
They are running 2.5.6 and mysql 3.23.55.
Here is the code for the entire webpage:
[
<html>
<head>
<title>Printing Technologies Inc. - Commercial Printing Services - Erie, Pa</title>
<meta name="description" content="Printing Technologies Companies Inc. - Erie, PA ">
<meta name="keywords" content="Rrinting Technologies Companies, ptideas, printers, erie, pa">
<meta name="revisit-after" content="60 Days">
<meta name="Classification" content="Commercial">
<meta name="robots" content="ALL">
<meta name="rating" content="General">
<meta name="Language" content="en">
<meta name="copyright" content="Printing Technologies Companies Inc.">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="main.css" type="text/css">
<script language="JavaScript" src="js/popwin.js">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" background="graphics/gb.gif" text="#666666" link="#003366" vlink="#003366" alink="#003366" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('graphics/nav/nav_pt_r1_c1_f2.gif','graphics/nav/nav_pt_r1_c2_f2.gif','graphics/nav/nav_pt_r1_c3_f2.gif','graphics/nav/nav_pt_r1_c4_f2.gif','graphics/nav/nav_pt_r1_c5_f2.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="graphics/tr.gif" width="100" height="9"></td>
</tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="287" rowspan="4" align="left" valign="top"><img src="graphics/pt_logo.jpg" width="287" height="63"></td>
<td align="center" valign="top"><img src="graphics/tagline.gif" width="251" height="32"></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="415">
<!-- fwtable fwsrc="navbar_pt.png" fwbase="nav_pt.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img name="nav_pt_r1_c1_f2" src="graphics/nav/nav_pt_r1_c1_f2.gif" width="82" height="23" border="0" alt="Printing Technologies Companies Home"></td>
<td><a href="pt_products.htm" target="self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_pt_r1_c2','','graphics/nav/nav_pt_r1_c2_f2.gif',1);"><img name="nav_pt_r1_c2" src="graphics/nav/nav_pt_r1_c2.gif" width="83" height="23" border="0" alt="Printing Technologies Products"></a></td>
<td><a href="pt_support.htm" target="self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_pt_r1_c3','','graphics/nav/nav_pt_r1_c3_f2.gif',1);"><img name="nav_pt_r1_c3" src="graphics/nav/nav_pt_r1_c3.gif" width="81" height="23" border="0" alt="Printing Technologies Support"></a></td>
<td><a href="http://www.printstorefront.com/printingtechnologies/index.jsp" target="blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_pt_r1_c4','','graphics/nav/nav_pt_r1_c4_f2.gif',1);"><img name="nav_pt_r1_c4" src="graphics/nav/nav_pt_r1_c4.gif" width="83" height="23" border="0" alt="Printing Technologies Order"></a></td>
<td><a href="pt_contact.htm" target="self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_pt_r1_c5','','graphics/nav/nav_pt_r1_c5_f2.gif',1);"><img name="nav_pt_r1_c5" src="graphics/nav/nav_pt_r1_c5.gif" width="86" height="23" border="0" alt="Printing Technologies Contact Us"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="graphics/tr.gif" width="1" height="5"></td>
</tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="4">
<tr align="left" valign="top">
<td colspan="4"><img src="graphics/tr.gif" width="100" height="10"> </td>
</tr>
<tr align="left" valign="top">
<td width="20"><img src="graphics/tr.gif" width="20" height="10"></td>
<td>
<p><img src="graphics/ptopengraphic4.jpg" width="302" height="299"></p>
</td>
<td>
<h1>Welcome to Printing Technologies...</h1>
<p>Commercial printing services utilizing conventional and digital printing
resources. In a world of high tech, we have high tech support. </p>
<ul>
<?
$hostname_connpt = "xx";
$database_connpt = "xx";
$username_connpt = "xx";
$password_connpt = "xx";
$connpt = mysql_pconnect($hostname_connpt, $username_connpt, $password_connpt) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db($database_connpt, $connpt);
/$query_RSproducts = "SELECT FROM ptproducts";
$RSproducts = mysql_query($query_RSproducts, $connpt) or die(mysql_error());
$row_RSproducts = mysql_fetch_assoc($RSproducts);
$totalRows_RSproducts = mysql_num_rows($RSproducts);*/
$sql = "SELECT * FROM ptproducts";
$result = mysql_query($sql, $connpt) or die(mysql_error());
if (mysql_num_rows($result) < 1) {
print "There are no products to display.";
} else {
for ($i=0;$row = mysql_fetch_array($result, MYSQL_ASSOC);$i++) {
$Name = $row['Name'];
$ID = $row['ID'];
if($i<3) {
print "<li><a href=\"http://www.ptideas.com/dev/printtech/template.php?ID=$ID\">$Name</a></li>";
} else {//it's more than three
print†"<li><a href=\"http://www.ptideas.com/dev/printtech/template.php?ID=$ID\">$Name</a></li>";
}
}
}
?>
</ul>
</td>
<td align="center">
<p><a href="javascript😮penWin('message.htm', 375, 525, 0, 0)"><img src="graphics/message.jpg" width="149" height="138" border="0"></a></p>
<p><img src="graphics/tr.gif" width="10" height="150"></p>
<p><a href="http://www.adobe.com" target="_blank"><img src="graphics/adobelogo.gif" alt="Adobe Solutions Provider" width="87" height="34" border="0"></a></p>
</td>
</tr>
<tr align="left" valign="top">
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="4">
<tr>
<td bgcolor="#000033">
<table width="740" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="graphics/tr.gif" width="20" height="1"></td>
<td class="copy">©Copyright 2003 Printing Technologies Companies.
All rights reserved</td>
<td><img src="graphics/800_number.jpg"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
]
I can email you the file also, if that would help.
Note: I did have to replace these characters "†" in the section I copied and pasted from your post with spaces in the code you wrote.???
Thanks again,
Dmacman