Can someone help me with preg_match ?

Hello I have the following preg_match:

PHP:

if (preg_match(‘~^[^0-9]~’, $id)) {

echo "<script>alert(‘no match found.’)</script>";

It is searching an ID which is made up of numbers like 84773
The problem […]

See original post by readezarchive

Leave a Reply