Thread
: Tech
Real quick sql querie question...
View Single Post
12-23-2021, 10:17 PM
sarettah
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,091
You can use the php date() function to get the day of the month and then use that as your limit.
$limit=date('j',time());
$sql="select * from tablename limit " . $limit;
.
__________________
All cookies cleared!
sarettah
View Public Profile
Find More Posts by sarettah