Jump to content


Display table if box selected

  • Please log in to reply
2 replies to this topic

#1 mitchw_17

  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 13 March 2006 - 01:45 PM


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


#2 mark s

mark s
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 13 March 2006 - 01:58 PM

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.

#3 mitchw_17

  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 15 March 2006 - 12:11 PM

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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users