Quote:
Originally Posted by Marco van Herwaarden
|
i tryed already alot after reading all this examples
but i cant get it working
PHP Code:
if (preg_match("^d{8,10}$", $string))
{
echo "http:/domain.com/" + $string + "/";
}
else
{
echo "value must be between 8 and 10 digits only";
}
PHP Code:
if (preg_match("^d{8,10}$", $string))
{
print_r("http:/domain.com/" + $string + "/");
}
else
{
echo "value must be between 8 and 10 digits only";
}