I'm a complete NOOB with PHP. I'm used to more 'common english' web languages like ColdFusion or ASP. And in those, I'd know how to do the following, but in PHP it's seemingly impossible:
For my navigation, I need to check the URL variable ID, and depending on what it is, export out some HTML/JAVASCRIPT for the page to parse. In ColdFusion, this'd be a cinch, and would go like this:
<cfif Request.ID IS "47">
<html code>
<cfelse>
<other html code>
</cfif>
But in PHP, I'm not sure what to do. I've tried using an echo(''), but that just results in a broken page. Can anyone help? I'm assuming this is simple, cause it's so easy in other languages, but exhaustive web searching has yielded nothing.