5
So I was doing a search, looking for some php function that checks if a certain number exists within a variable. And I found the preg_match(). Only that has a however, php gives an error and so I intended it does not work with numbers only with other characters someone can help me?
code:
$numeros = "1 2 3 4 5 6 7 8 9";
preg_match(1,$numeros);
Error:
Warning: preg_match(): Delimiter must not be alphanumeric or backslash
you need to use the delimiters...
– RFL
The following functions worked. many thanks.
– Wendel Gomes