Jump to content

Recommended Posts

<table width="200" border="1">

  <tr>

    <th scope="col">Category 1 </th>

    <th scope="col">Category 2</th>

  </tr>

  <tr>

    <td scope="data_1">Item 1</th>

    <td scope="data_2">Item 1</th>

  </tr>

</table>

 

 

<form id="options_pane" name="option_pane" method="post" action="">

  <label>

  <select name="options" id="options">

  <option>Display All Data</option>

  <option>Display Category 1</option>

  <option> Display Category 2</option>

  </select>

  </label>

</form>

 

 

What I need.

1. A user is in a website. He click on display category 1 link. When the user enters the website only that category_1 shows in the table  but category 2 is not present.  When the user selects Display All data both columns are shown.

 

 

Link to comment
https://forums.phpfreaks.com/topic/125711-adaptive-html-table/#findComment-651471
Share on other sites

  • 2 months later...

here is how I did it with php no javascript

http://www.calstatela.edu/academic/aa/ess/elps/newweb/elpsworkshop_schedule.php?value=All

I pass by value and if statements select the correct information.

Show workshops: All | Tools for Teaching | ATI | WebCT | Web Development

Link to comment
https://forums.phpfreaks.com/topic/125711-adaptive-html-table/#findComment-717247
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.