How To Check SPM Trial Result Online?

Check box in php for sql database and show result in new form?

  • Answer:

    You need to provide more details than that. However, I can give you few pointers. When making HTML checkbox, give it a name, eg: <input type="checkbox" name="myCB"/> Then in PHP code you could like this: <?php if ($_REQUEST['myCB']) mysql_query("SELECT ..... WHERE someCondition=true"); else mysql_query("SELECT ..... WHERE someCondition=false"); ?>

l0yalt at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

You need to provide more details than that. However, I can give you few pointers. When making HTML checkbox, give it a name, eg: <input type="checkbox" name="myCB"/> Then in PHP code you could like this: <?php if ($_REQUEST['myCB']) mysql_query("SELECT ..... WHERE someCondition=true"); else mysql_query("SELECT ..... WHERE someCondition=false"); ?>

DRAX

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.