Posted by roondog on 06/14/07 11:42
I've got a form i'm testing at www.roondogid.co.uk/login/register.php
i've got it all working except it won't let me have any gaps in the gamertag
section.
the code for that section is:
if (eregi ('^[[:alnum:]]{2,15}$', stripslashes(trim($_POST['gamertag'])))) {
$g = escape_data($_POST['gamertag']);
} else {
$g = FALSE;
echo '<p class="error">Please enter your gamertag!</p>';
}
all help appreciated.
Navigation:
[Reply to this message]
|