here's the code I came up wirth:
case "view2":
echo '<A HREF="'javascript:open_window1("'$absolute.'uploads/'.$file.'" autostart=true hidden=false)'"><br />view video </a>';
but I get the following syntax error:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/cailloue/public_html/FrankC10/CMS/viewer.php on line 39
Dam it won't show my javascript. Well the Javascript is a simple popup window
'<A HREF="'javascript:open_window1("'$absolute.'uploads/'.$file.'" autostart=true hidden=false)'"><br />view video </a>';