PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

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:
  #1  
Old October 17th, 2002, 01:16 AM
Guzba Guzba is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: McFarland, WI, USA
Posts: 21 Guzba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Guzba
radio style input

Just a quick quiestion, witht his little sniblet of radio input how would i check if they clicked on it
<input type=radio name=join>

would i use $join=="on" or $join=="yes" or what

Reply With Quote
  #2  
Old October 17th, 2002, 01:41 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: radio style input

Give it a value:

http://codewalkers.com/tutorials/12/5/

Reply With Quote
  #3  
Old October 17th, 2002, 08:00 PM
Guzba Guzba is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: McFarland, WI, USA
Posts: 21 Guzba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Guzba
RE: radio style input

yeah that kina helps but i still need to know how to find out if they clicked on it or not, its for joining a mailing list so its a click for yes button then in php i have an if-then statement for it but i dont know what to put for the if...

Reply With Quote
  #4  
Old October 17th, 2002, 08:07 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: radio style input

<input type="radio" name="join" value="poop">
php Code:
Original - php Code
  1.  
  2. $join = $_POST['join'];
  3. if(isset($join))
  4. {
  5.     echo'yup.. poop be clicked';
  6. }

Reply With Quote
  #5  
Old October 17th, 2002, 08:24 PM
Guzba Guzba is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: McFarland, WI, USA
Posts: 21 Guzba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Guzba
RE: radio style input

thanx a bunch notepad

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > radio style input


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 4 hosted by Hostway