Thread
: Tech
Sortable date on page from 3 seperate columns?
View Single Post
11-26-2022, 09:03 PM
Publisher Bucks
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,124
Quote:
Originally Posted by
sarettah
Why do you have the dates split into month, day and year? And why 3 separate echo statements?
Anyway, you can concatenate the 3 columns together to make a sortable date.
Concat function:
https://www.w3schools.com/sql/func_mysql_concat.asp
.
So that when someone uploads they can choose a specific date for publication from a drop down menu, that was honestly the only way i knew how to achieve what i wanted lol
I'll take a look at that link, thanks
__________________
SOMETHING
EXTREME
IS COMING SOON!
Publisher Bucks
View Public Profile
Visit Publisher Bucks's homepage!
Find More Posts by Publisher Bucks