<?php
$output = "";
if (isset($specific)) {
$output .= ’<a href="#" onclick="openWindow(’/viewer/item?data=’.$chunk.’’, 710, 500); return false;">’.$name.’</a>*’;
} else {
$output .= ’<a href="#" onclick="openWindow(’/viewer/item?data=’.$chunk.’’, 710, 500); return false;">’.$name.’</a>’;
}
return $output;
?>
...which gives this error...
Parse error: syntax error, unexpected ’=’ in /hsphere/local/home/symphoni/symphonicheaven.com/manager/includes/document.parser.class.inc.php(769) : eval()’d code on line 4
It’s reading in the = literally. How do I fix it?
(If you wondering, I’m making a "tag", so I don’t have to retype the HTML code each time I use it.)
EDIT: Nvm, I found a solution.