Essentially, I'm completely new at PHP - using dreamweaver cs6 (its all i have)
I have to get the value of a query string (someurl.com/id=something). After i get the value, I need to show a single div based on the ID.
While I know there really isn't any REAL "page load" event for PHP, I'd like to have it when the page opens.
So, how do I accomplish this?
I started with this:
<?php
$stringId = $_GET['id']
?>
<script language="javascript">
document.getElementById('$stringId').style.display = "block";
</script>
<?
?>
Since I don't have a server setup, will something like this work? Would you suggest something else? Am I completely wrong?
Any input would be appreciated. Thank you.