Hi there I want to ask something very simple , unfortunately I run out of ideas , I want a function when is being $GET to do a JavaScript function straight away, but I just want to make sure that's how you do it...
<script>
function watch()
document.getElementById("home").style.display="none";
document.getElementById("watch").style.display="block";
</script>
<a href="index.php?id=8">8</a>
<?PHP
if(isset($_GET['id'])) {
watch () <<<ISSUE
//run that function if ittselts GET
}
?>
function function- cannot call functions using one of the keywords