funny this seems to work else where in my code but for some reason this is happening:
Warning: Invalid argument supplied for foreach() in /home/xxxx.org/htdocs/music/order_form/includes/html_table.class.php on line 19
Here is the code, line 19 is the foreach() line:
private function addAttribs( $attr_ar ) {
$str = '';
foreach( $attr_ar as $key => $val ) {
$str .= " $key=\"$val\"";
}
return $str;
}
Am I missing something simple? I must be. Thanks for looking.
🙂