Hi, I'm trying to use a wildcard for a if statement using the query string.
<?php if ($_SERVER['QUERY_STRING'] == "http*" ): ?>
Print This HTML
<?php else: ?>
Print This HTML
<?php endif; ?>
What I would like to happen is if the query string starts with http then the first html stuff is displayed or else the other is. I don't know exactly how to do this, tried a few ways with no luck. Any help would be great!
Thanks,
Ryan