Ok - I want to check a string for @ in it (Im checking to see if a string
that should contain an email holds a @ )
How would I go about this? preg_match? ereg? strstr?Examples ?
Also - how would I find any non alpha numeric characters in a string so I
can give the user an error message. I dont want any characters besides
alpha-numeric in the strings.
that should contain an email holds a @ )
How would I go about this? preg_match? ereg? strstr?Examples ?
Also - how would I find any non alpha numeric characters in a string so I
can give the user an error message. I dont want any characters besides
alpha-numeric in the strings.
Comment