pccode
10-14-2005, 08:57 AM
If you could post your entire script, I will test it and post any errors I find. It's very difficult to say what the problem is without seeing the whole script. I do have one suggestion though. In php, it automatically interprets all of the variables contained between quotes. So http://www.codingforums.com/archive/index.php/instead of using quotes around each variable, just put the quotes at the beginning and end of the content that you want to print. Also, I would suggest placing the link function directly after the href= http://www.codingforums.com/archive/index.php/instead of using the onclick event handler.
echo "<td class=prompt nowrap><a class=lnk href=\"javascript:load('$t','$leader','$passcode','$area','$values[$z+1]','$pid');\">$labels[$z+1]</a></td>";
echo "<td class=prompt nowrap><a class=lnk href=\"javascript:load('$t','$leader','$passcode','$area','$values[$z+1]','$pid');\">$labels[$z+1]</a></td>";
