I am getting errors it says with thread(...)threadid is null or not an object
when i remove this code no errors can someone tell me where they see and error in this code and how to fix it ?
Code:
<!--
for (x = 0; x < 5; x++)
{
document.writeln("<strong>» <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a></strong><br /> (Posted By: "+threads[x].poster+")<br /><br />");
}
//-->