hello,
i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this
muralibobby2015
17
Posting Pro
Recommended Answers
Jump to Post$result = mysql_query("SELECT name FROM user WHERE month(dob) = '$current_month' AND day(dob) >= '$current_day' ")
Jump to Post$result = mysql_query("SELECT name FROM user WHERE month(dob) = '$current_month' AND day(dob) >= '$current_day' ")
yeah try that out... my bad... rightly deserve a negative point for that post :(
Actually u should alwayz save ur query in a variable and then execute it..
this way when …
All 8 Replies
muralibobby2015
17
Posting Pro
venkat0904
1
Junior Poster
muralibobby2015
17
Posting Pro
urtrivedi
276
Nearly a Posting Virtuoso
venkat0904
1
Junior Poster
muralibobby2015
17
Posting Pro
muralibobby2015
17
Posting Pro
venkat0904
1
Junior 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.