Before popup check if IP existed in DB

admin

Administrator
Staff member
Hi there,

I'm working on the servey. And I'm attatching the survey to the main page. But what I want is:

Get the IP from the database

If it exists then compare the time NOW()
to database entry

if NOW()>1hour the popup survey window
else
go to main page

I try to do this but wasn't able please give me the syntax for that.
Thank you

mannu
 
Back
Top