Mattigrate Posted October 28, 2010 Share Posted October 28, 2010 So basically I want to take this input "site:google.com" And record only the "google.com" part as a variable. Any idea how to do that? Quote Link to comment Share on other sites More sharing options...
Anti-Moronic Posted October 28, 2010 Share Posted October 28, 2010 yaha, $str = "site:google.com"; $justdomain = str_replace('site:', '', $str); Quote Link to comment Share on other sites More sharing options...
Mattigrate Posted October 28, 2010 Author Share Posted October 28, 2010 Thanks kindly! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.