Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
check if a string contains a letter followed by a number ahmed24
hi i have a variable called $username like this:
$username = $_POST['username'];
i want to be able to check to see if the value for $username starts with the letter p (not case sensative) and is followed by a numeric set of values. If so echo something else echo something else
can anyone tell me how i can achieve this?