Can anyone tell me what's wrong with this bit of code generated by Dreamweaver:
<?php
$varLocation_qryJobBoard = "%";
if (isset(#Location#)) {
$varLocation_qryJobBoard = (get_magic_quotes_gpc()) ? #Location# : addslashes(#Location#);
}
I keep getting the message:
Parse error: syntax error, unexpected '=', expecting ',' or ')' in /home/skeetco/public_html/SearchResults.php on line 5 (which would be line 3 above)
Any help greatly appreciated.