PDA

View Full Version : string containing both letters and numbers


lux
03-08-2007, 01:33 PM
Hey guys,

working on my php form validation and want to test the input contains both text and at least one number.

anyone got a clean solution to test the for the presence of both, cheers!

davidj
03-08-2007, 02:05 PM
try researching preg_match