Jump to content

Archived

This topic is now archived and is closed to further replies.

mitchw_17

Display table if box selected

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×

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.