Hi all - also new to PHP/SQL and have a different question on a similar question posted -
I need to create a page in php that allows the user to select a date range to and from.
Howver, the date stored in the database is unix such as 1494548767
Was thinking a drop down calender might work too - just not sure where to go with this or how to search by date in this situation.
If you need table structure or anything else - please reply and I'll provide what is needed to help find a solution.
Thanks in advance!
J
James_90
0
Newbie Poster
Recommended Answers
Jump to PostIt appears there are priors to this. Try reading a few and see how they solved it. Search follows.
Jump to PostYou need to convert the dates users enter to Unix timestamps. You can do that either in PHP or MySQL (see
UNIX_TIMESTAMP()
).
All 6 Replies
rproffitt
2,563
"Nothing to see here."
Moderator
James_90
0
Newbie Poster
pty
882
Posting Pro
rproffitt
2,563
"Nothing to see here."
Moderator
pty
882
Posting Pro
Amelia_4
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.