I have a bit of php code that posts the value of a form field like this:
str_replace("www.", "", $_POST['billing_myfield12'])
This php code excludes the www part if the user entered it. I would like to exclude http and https aswell if this is entered as a value.
I tried doing something like this, but it didn't work:
str_replace("www."&&"http://", "", $_POST['billing_myfield12'])
any ideas on how to exlude multiple parts