Hi Guys,

I am hoping that someone here might be able to help me with something i'm stuck on.

Basically, I have a form and i need a couple of text fields (or hidden fields). One that contains the current date (submission date), and one that contains the date 30 days from the current date (expiry date).

I've googled it quite a bit and havn't really come up with anything helpful.

As well as that, on the page which calls the forms data (from SQL through PHP) I need a variable which will display either 'Expired' or 'Valid' depending on whether the current date is after the expiry date.

Hopefully this makes some sense and hopefully someone will be able to help!!

Many thanks,

Keir