SyntaxFix
Write A Post
Hire A Developer
Questions
Remove www. from beginning of string, this is the easiest way (ltrim)
$a="www.google.com"; echo ltrim($a, "www.");