No, you aren't na idiot. You just don't how to do it, nobody knows everything.
I think you can use strlen(); it returns an integer with the lenght of the variable (0 if it's blank). Don't worry, I learned this function some weeks ago... Happy new year, bye bye. -----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 13 de janeiro de 2005 13:18 Para: php-windows@lists.php.net Assunto: [PHP-WIN] Reg Ex help I might be an idiot... I am trying to do a simple check to make sure a string contains at least an alphanumeric character before I print the string. How can I do this? Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php