Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11

    Default Re: PHP Newbie: patabang ko to simplify a simple code :)


    sa imong 1st case, i think i would suggest "for loop"..

    as for the option tag, considered bana as bad practice sa HTML?
    > yes. you need to have a closing tag (</option>)

  2. #12

    Default Re: PHP Newbie: patabang ko to simplify a simple code :)

    Quote Originally Posted by Klave View Post
    What I meant was you opened an option (<option>) tag but did not close it (</option>).

    Sayon ra man...

    Without using <br> or new <div>

    Loop from 1 to 12 or 1 to 24 the first drop down.
    Loop from 00 to 59 the second drop down.
    If you used 1 to 12 make another drop down with am or pm as values.

    Then concatenate the selected values to make the date.
    Thanks,

    Quote Originally Posted by number9 View Post
    sa imong 1st case, i think i would suggest "for loop"..

    as for the option tag, considered bana as bad practice sa HTML?
    > yes. you need to have a closing tag (</option>)
    Thanks. Mao ni problema mag copy paste mode, ma acquire nako bad habits sa uban hehe.
    ga tuon ko XHTML for now aron di ko maglibog.

  3.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. Replies: 43
    Last Post: 03-08-2015, 09:02 PM
  2. Im learning PHP, Help me hw to run the PHP!
    By kyme in forum Programming
    Replies: 23
    Last Post: 08-21-2012, 02:57 AM
  3. McDonald's, LOVE KO 'TO
    By eCpOnO in forum Food & Dining
    Replies: 292
    Last Post: 12-23-2011, 10:51 PM
  4. Replies: 334
    Last Post: 12-20-2007, 06:44 AM
  5. mga math geek dha patabang ko kadyot...
    By Dropd in forum Computer Hardware
    Replies: 5
    Last Post: 03-13-2007, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top