Creating dropdown box using php.Dynamic dropdown box using php

By | March 4, 2015

Steps:

create a database ‘test’.
create a table inside test using the below code.

use the below php file that will show a drop down box for you

  • foo bar

    FYI the mysql_* functions have been deprecated in PHP 5.5

    • mydoubts

      you can use mysqli-* function to resolve this ..

      • too bar

        Then why are you not doing this already?

        • mydoubts

          I will update a new code with mysqli fucntion. thanks for your reply