scarhand Posted December 4, 2007 Share Posted December 4, 2007 for some reason this isnt working <?php if (!eregi("^[#]*(\.[a-z0-9]{6})$", $maintxtcolor)) { $errormsg = "An invalid main text color was entered"; } Quote Link to comment Share on other sites More sharing options...
scarhand Posted December 4, 2007 Author Share Posted December 4, 2007 nevermind i figured it out <?php if (!eregi("^#*([a-fA-F0-9]{6})$", $maintxtcolor)) 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.