The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Adding a wild card in PHP Re: [Solved] Adding a wild card in PHP


Umm, well…

I want to check if someone’s number starts with 805. Any number after that is irrelevant. It’s the area code I’m interested in. I can’t have it return false.

Maybe something like this?

if ($phone == "805" . *)

this doesn’t work :/