I have a function like this:
function colorscheme( $color, $url ) {
return array( $color, $url );
}
How can I fetch them and display them like this (this is an example, it doesn't work):
function fetch_colorscheme() {
foreach() {
echo "<ul><li>$color</li><li>$url</li></ul>";
}
}
Thank you!!
colorscheme()function is the most redundant thing I've ever seen.foreach(colorscheme('yourColor', 'yourURL') as $key => $value){ echo $key . ' => ' . $value . '<br />'; }