Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old March 11th, 2004, 09:47 AM
ferhanz ferhanz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Lahore, Pakistan
Posts: 49 ferhanz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Getting values from radio buttons

Scenerio,
First page consists of Main Categories as heading and sub categories are placed beneith the categories column...now each sub category has three radio buttons in front of it...user has to click only one out of it


Q no. 1

what could be the database schema ?


Q no 2

how can i get the values of the checked radio buttons in the next page ?

Q no 3

as the sub categories are so many in number is their any way i can dynamically create radio buttons along with the sub categories ?

Reply With Quote
  #2  
Old March 11th, 2004, 01:18 PM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Getting values from radio buttons

I'd like to answer you question #2.
Say you have set of radio buttons in this manner:
Code:
<input type=radio name="myRadio" value="Ricky"> Ricky <br />
<input type=radio name="myRadio" value="Darren"> Darren <br />
<input type=radio name="myRadio" value="Glenn"> Glenn <br />

You could retirve the selected radio button like:
php Code:
Original - php Code
  1. echo $_POST['myRadio']; // echo selected radio button value
  2.  

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > Getting values from radio buttons


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway