eregi() question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am new to php and strugling in this area. The tutorial isn't
helping much I have writen a test case for checking for a valid email.

what I want is to check for the "@" in the email. iwant to check
for some charecters before this with or without a full stop. Also
the tutorial calls up for this ([[:alnum:]])

I know this is not what I want before the @ symbol because I want
some characters befor the @ which may include a dot. But why
so many brackets around alnum.

Help please


Re: eregi() question

Des wrote:

Quoted text here. Click to load it

What tutorial?

Quoted text here. Click to load it

It's a 'character class' inside a 'bracket expression'.  You  
can add other characters or classes inside that bracket  


Site Timeline