qmanning
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by qmanning
-
-
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.
PHP If Then Help
in PHP Coding Help
Posted
Honestly, I'm not a fan of PHP. I find it cumbersome and messy. I'm needing to use certain aspects of it for a client's CMS, and, after 3 days of trying to figure something out, I came here asking for help.
I don't want, nor need, some information on the basics. All I needed was this one specific thing. So, thanks for that.