473,320 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Printing information after checked radiobox

2
Hi.

I'm trying to make a PHP script that simply prints some stored information after the user has checked a radiobox and presses submit.

Have been many years since I have done any of this so It's kinda lost.

What would be the easiest soloution for printing information containing information about the subject the user selected in the radiobox?

Expand|Select|Wrap|Line Numbers
  1. <p>
  2.   <label>
  3.   <input name="cca" type="radio" value="cca" />
  4.     Conax Conditional Access</label>
  5.   </p>
  6.   <p>
  7.     <label>
  8.     <input name="is" type="radio" value="is" />
  9.     Intet Signal</label>
  10.   </p>
  11.   <p>
  12.     <label>
  13.     <input name="kk" type="radio" value="kk" />
  14.     Kodet Kanal</label>
  15.   </p>
  16.   <p>
  17.     <label>
  18.     <input name="skmi" type="radio" value="skmi" />
  19.     Svart skjerm m/infolinje</label>
  20.   </p>
  21.  
thanks
Oct 24 '07 #1
2 1778
Atli
5,058 Expert 4TB
Hi. Welcome to TSDN!

I'm not sure what you are trying to accomplish with those four different radio boxes.

Is the user only supposed to be able to choose one?
If that is the case they should all have the same name.

Should the user toggle them on or off?
Then they should be checkboxes rather than radio buttons.

How are you storing the data you want displayed?
Oct 25 '07 #2
krisvt
2
After I've been thinking about it over the night, using a script for this is just a way of making the project harder to accomplish.

I simply wanted the script to print a soloution to the problem the user selected, but the easiset way is obviously just to link it to a page where the soloution is.

Thanks for the reply anyway
Oct 25 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Austin | last post by:
Every time i use wxRadioBox, it will show the box. I just want the options show on the panel. What could i do?
5
by: laszlo | last post by:
Please help me. I have a radio box set, name is in rname variable, want to change the checked status to the indexed box, index is in ii variable. I tried d = getElementById(rname); d.value...
9
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
3
by: Greg Brewer | last post by:
I have a form. The form has input fields. The user enters information onto the form presses submit, the information goes to a database. All is good. Now, I want to change the form so that the...
13
by: Clevo | last post by:
Hello, I want to check if user select one from the radiobox group. How can I get the radiobox actual value in javascript. In the value field I see the default value, but how can I know if it...
2
by: Ryan Gregg | last post by:
I've got a dot matrix printer that I need to print a line at a time to. This is being used for an audit log on an application and every event that occurs needs to print out right as it occurs. ...
2
by: crystalattice | last post by:
In my GUI app, I have a radio box allowing the user to pick his/her gender. When I click a button, I'd like the radio box to tell the program which choice is marked. I can get it to work when I...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
21
by: array7 | last post by:
I have been reading a lot of archived threads about "page-break- inside: avoid" not supported by IE5, IE6 IE55, IE7 and Firefox (Mozilla), which creates a really unpleasant-looking printout with...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.