Output an array as a bullet list.

This function parses an array recursive an creates a bullet list. Maybe is is usefull for somebody


highlight_string(‘
\n\r”;
foreach($var as $key => $part)
$string .= “

  • “.$key.” = “.var_string($part).”
  • \n\r”;
    $string .= “

    \n\r”;
    return $string;
    }else{
    return $var;
    }
    }
    ?>
    ‘);

    Leave a Reply