TheFilmGod Posted July 23, 2009 Share Posted July 23, 2009 if (preg_match('/^[A-Za-z]{2,50}$/', $first_name)) { $error[1] = 1; } Data going in is: "Douglas", "Melissa", and "Michael" and $error[1] is still 0. Unchanged. Am I doing anything wrong? Quote Link to comment Share on other sites More sharing options...
SuperBlue Posted July 23, 2009 Share Posted July 23, 2009 Understandable, it works fine here. Maybe you uploaded it to your server, and your browser somehow Cached the old page? I have experienced it in the past. 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.