kenrbnsn Posted June 3, 2006 Share Posted June 3, 2006 There is either one two many parenthesis or one two few on this line:<?php if ((!preg_match("/^([A-Za-z0-9])+$/", $username)) { ?>[/code]BTW, why are you using a Javascript alert in this code? If you are verifying in PHP, use PHP to put out the error message. The Javascript alert will probably not display where you think it will.Ken Link to comment https://forums.phpfreaks.com/topic/10900-quick-php-array-help-please/page/2/#findComment-41433 Share on other sites More sharing options...
poirot Posted June 3, 2006 Share Posted June 3, 2006 Most likely, it's what ken said. Or if it's not, post the code here.Anyway, the alert will pop, but you shouldn't use it this way ;) Link to comment https://forums.phpfreaks.com/topic/10900-quick-php-array-help-please/page/2/#findComment-41450 Share on other sites More sharing options...
Old Novus Posted June 4, 2006 Author Share Posted June 4, 2006 you are god thank you so much! Link to comment https://forums.phpfreaks.com/topic/10900-quick-php-array-help-please/page/2/#findComment-41634 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.