hey all :) I have this chunk of code:
$echoResultArray = array();
$i = 0;
while ($row = mysql_fetch_array($result))
{
$td = '';
foreach(array('FIRST_NAME', 'LAST_NAME', 'RIT_ACC', 'LINK_1', 'LINK_2', 'LINK_3', 'LINK_4', 'LINK_5', 'LINK_6' ) as $key => $value)
{
$td .= "<td>" . $row[$key] . "</td>";
}
$echoResultArray[$i] = "<tr>" . $td . "</tr>";
$i++;
}
//Table closing tag
$echoResultsClosing = "</tbody></table>";
mysql_close();
$echoResultData = '';
foreach($echoResultArray as $var)
{
$echoResultData .= $var;