This will validate ICQ ID (number only).
if (ereg("^[0-9]{6,15}$", $icq)) {
echo 'Valid';
} else {
echo 'Invalid;
}
This will validate ICQ ID (number only).
if (ereg("^[0-9]{6,15}$", $icq)) {
echo 'Valid';
} else {
echo 'Invalid;
}
No Comments