|
-
Feb 27th, 2005, 05:21 AM
#1
A better way: Displaying XHTML through PHP
Is there an easier way to basically say "if $_GET = this then display this chunk of HTML, otherwise display this chunk of html?"
I have a page and only certain things should be shown depending on the value sent to the page. I'd hate to write all the XHTML code in PHP's print, printf, or echo functions with \" everywhere.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|