[PHP] Re: Form Validation filter - Regex Q

2009-11-12 Thread Nisse Engström
On Tue, 10 Nov 2009 09:34:52 -0800, Haig Davis wrote: foreach($_POST as $keyTemp = $valueTemp){ $key = mysqlclean($keyTemp); $value = mysqlclean($valueTemp); Mysql and form validation are totally unrelated. In my mind, this seems spectacularly misguided.

[PHP] Re: Form Validation filter - Regex Q

2009-11-12 Thread Al
Haig Davis wrote: Morning All, I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to achieve rather than writing a

[PHP] Re: Form Validation filter - Regex Q

2009-11-11 Thread Manuel Lemos
Hello, on 11/10/2009 03:34 PM Haig Davis said the following: I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to

[PHP] Re: Form Validation filter - Regex Q

2009-11-10 Thread Al
Haig Davis wrote: Morning All, I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to achieve rather than writing a

[PHP] Re: Form Validation filter - Regex Q

2009-11-10 Thread Nathan Rixham
Haig Davis wrote: alone work fine as does the foreach loop the only issue I have is the IF statement comparing $key to expected varieable names. if($key != ($customerServiceEmail) || ($billingEmail) || multiple points here.. 1: is the key name held in a php variable called