Claim your Biolink Click Here
0 like 0 dislike
215 views
in Education & Reference by (-30 points) | 215 views

1 Answer

0 like 0 dislike

If you want to show Hour in different DDL and Min in different ddl then you can use the below

<select name="wedend" id="wedend">
<option value="0">Select Hour</option>
<?php
for ($i = 0; $i < 24; $i++) {
    $num = $i;
    $num = $num < 10 ? "0$num" : $num;
    echo "<option value=\"$num\"> $num</option>\n";
 }
?>
   </select>
by (1.6k points)

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Jun 27, 2019 in Education & Reference by Simmi (830 points) | 279 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 25, 2014 in Education & Reference by Neha (1.1k points) | 1.1k views
1 like 0 dislike
1 answer
asked Jan 4, 2018 in Education & Reference by Sam (1.6k points) | 1.1k views
0 like 0 dislike
1 answer
asked Aug 1, 2017 in Education & Reference by Krish (1.1k points) | 494 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,312 questions
1,473 answers
569 comments
4,809 users