Posted by brett on 11/03/06 22:24
> Let $url = '/blog/?p=4&preview=true'; > then > $uri = parse_url($url); > parse_str($uri['query'], $get); > echo $get['preview']; For some reason, the conditions weren't running. When I output print_r($get); I see Array ( ) The URL does have a query string. Any suggestions? Thanks, Brett
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming