If query string value equals a value

<?php if($x=&$_GET["res"] == "16x9"): ?><img src="images/16x9_bg.png" /><?php endif; ?>
If you have query string res and it has a value 16x9 it will show a specific image. This is part of a large project I put in github. https://github.com/ipodscott/videoplayer

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.