Hello,
Could anyone help me with the code below to create the php to output the html below.
function add_accesskeys($input) {
/*
// example data
$input = array(
array('filename' => 'home.html',
'title' => 'home page'),
array('filename' => 'products.html',
'title' => 'products'),
array('filename' => 'contact.html',
'title' => 'contact'),
array('filename' => 'prices.html',
'title' => 'prices'));
$output = <<<OUT
<ul>
<li><a href="home.html" accesskey="h"><em>h</em>ome page</a></li>
<li><a href="products.html" accesskey="p"><em>p</em>roducts</a></li>
<li><a href="contact.html" accesskey="c"><em>c</em>ontact</a></li>
<li><a href="prices.html" accesskey="r">p<em>r</em>ices</a></li>
</ul>
OUT;
*/
return $output;
}