I have this code inside a PHP function:
$results = array();
while($result = mysql_fetch_array($rs)) {
$results[] = $result;
//echo $result["company"].'<br>';
}
return $results;
then outside of the function, i use:
$table = 'customer';
$array = pages($table);
foreach($array as $ret) {
//display here...
}
i want to return some extra HTML code at the end of my function to display a HTML table
how can i do this?