Jump to content

Display table if box selected


mitchw_17

Recommended Posts

Hi,

Help needed!! I have a web page where the user can click what spefic areas that they want to report on, it then goes to a script where it filters out what to look for and adds this to a where array to query my MySQL database. It then displays the number of records that it found

Does anyone know how to still query the database and if a certain radio button is selected (i.e. Users Thoughts field), do the where array and then print a table print the Users Thoughts field

Sorry if I haven't been extremely specific

Cheers
Link to comment
Share on other sites

You may be able to pick the bones out of this one?

[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=87519&hl=\" target=\"_blank\"]Click Me[/a]

I had a simular issue with drop combo boxes.

It will show you on a submit you can get a result to show
pulled from the database.

--------------
Its not perfect but it works.
Link to comment
Share on other sites

What i'm looking for is like a radio button with "Add to Report" next to it, so in the script i'm looking for the normal mysql query plus something like ' if add to report box isn't empty, then display table'

Any help would be greatly appreciated
Link to comment
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.