PHP HTML Table needs more than one row
Hello. I have this code:
PHP Code:
$tmp .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\"><tr>\n";
foreach ($smilies as $key => $val)
{
$tmp .= "<td width=\"17\"><img src=\"$val\" alt=\"$key\" title=\"$key\" onclick=\"insert_smilies ('$key')\" /></td>\n";
}
$tmp .= '</tr></table>';
I need to have the images display in more than one row. Can someone help me please to fix this so that the one single row displays as two, (or more) rows? I'm a php dunce. :confused: