Hello,
I'm finding I'm using pretty much the same validation code in a number of forms and when I have to tweak it, I have to go into each form to do this.
I was thinking of using a require statement in the php code to include a php file that would have the validation code in it. Where would be the best place to put this file so it won't be over-written with new updates?
Thanks.
I'm finding I'm using pretty much the same validation code in a number of forms and when I have to tweak it, I have to go into each form to do this.
I was thinking of using a require statement in the php code to include a php file that would have the validation code in it. Where would be the best place to put this file so it won't be over-written with new updates?
Thanks.