RE: [PHP-DB] php/sendmail help!

2006-02-09 Thread bastien_k
You are in serious need of some regex here...google email regex and you will have enough results to get you what you want. Postal Code (assume 2 letters 4 dgits in that order if (ereg(^[A-Z]{2}{0-9]{4}$,$_POST['postal'])){ ... As for pasting it back to the form, I would suggest you have

RE: [PHP-DB] php/sendmail help!

2006-02-09 Thread JeRRy
Thanks but I recieved this exact email the other day also. Maybe servers playing up ;) J [EMAIL PROTECTED] wrote: You are in serious need of some regex here...google email regex and you will have enough results to get you what you want. Postal Code (assume 2 letters 4 dgits in that

RE: [PHP-DB] php/sendmail help!

2006-02-08 Thread JeRRy
Thanks for your help Bastien. I have it all working now, no problems. I also have generated a Unique ID for the form also. Jerry Bastien Koert [EMAIL PROTECTED] wrote: You are in serious need of some regex here...google email regex and you will have enough results to get you what you

RE: [PHP-DB] php/sendmail help!

2006-02-06 Thread Bastien Koert
You are in serious need of some regex here...google email regex and you will have enough results to get you what you want. Postal Code (assume 2 letters 4 dgits in that order if (ereg(^[A-Z]{2}{0-9]{4}$,$_POST['postal'])){ ... As for pasting it back to the form, I would suggest you have