I'm not sure why, but it didn't work. This is the full version of the last line, just to make sure I inserted the code correctly:
PHP Code:
$template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href=$links[$rand]>Nav Link</a>'.$tablinks.'</li> ;
And the error I get is:
Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/mernet/public_html/index/includes/class_bootstrap.php(555) : eval()'d code on line 62
Parse error: syntax error, unexpected '<' in /home/mernet/public_html/index/includes/class_bootstrap.php(555) : eval()'d code on line 62