Hey,
1st problem:
I’m currently working on a form which I need to restrict on only one IP address per 3 days, so that whenever you apply, your IP address does not exist in a previous apply and is more than or equal to a certain time (3 days), the user will be able to apply again. However, I’m confused on the part handling the time, if there’s anyone who could help?
2nd problem:
Also, I’m fetching out each form that has been submitted on a seperate page, (noticing that my sql-code is currently
SELECT * FROM events_collection LIMIT $entry, $per_page
, which I need for a pagination tool), - I’d need to order all the applies by a certain date format, (the most accurate date should appear as if it was the first entry), and it shouldn’t be ordered by ID, as usual. The date format I need is
date('d.m.Y')
.
I’d be glad if someone could help me out with those problems!