Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:40:06+00:00 2026-06-06T11:40:06+00:00

i need to display the drop down when the day is come from mysql

  • 0

i need to display the drop down when the day is come from mysql

my query is

select doj from user_detatils where user_id='2'

i use the html_select_date for the drop down option

The code is below

 {html_select_date start_year=1970 month_format="%b" field_order="dmy" 
  field_array="date" prefix="" day_id="dd" month_id="mm" year_id="yy" 
  year_empty="Year" month_empty="Month" day_empty="Day" }

if the table return the doj that date will be select in the drop down
else the drop down didn’t select any value

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:40:10+00:00Added an answer on June 6, 2026 at 11:40 am

    Following up on how can change the numeric to month in words.

    {html_select_date} explains the time argument. granted, it does a poor job in explaining that time=null will lead to “no date selected” and anything else that evaluates falsy (false, 0, “”, …) will select the “current date”.

    So your PHP should check if the database has a valid date in doj, otherwise set that variable to null.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need the drop down box above to display the date as shown and
I need to create an HTML drop down that will display flags of countries.
I need to create a drop down menu where I need to display 5
I need to show/hide options on one select drop down dependant on another select
I need to display the parent from the first Element of input.xml Also I
I would like to display all my category names in a drop down menu
I have a drop down that I need to compare the values ( the
I have a drop-down selector and form fields below. I need to be able
I need some help please, I have a PHP page with a drop down
I have a range of items in an HTML drop-down menu that I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.