Results 1 to 3 of 3
-
14th Jul 2011, 10:41 PM #1OPBannedWebsite's:
WarezRelease.org ThatHosting.coRadio Choice
hey
as im writing my own image script, i wanted to add a choice for users. so i written some test code b4 i implement, can any1 tell me if this wud work:
PHP Code:
<?php
$selectRadio = $_POST['set_size'];
if ( $selectRadio == '1' ) {
//Do your thing
} elseif ( $selectRadio == '2' ) {
//Do your thing
}
?>
<input name="set_size" type="radio" value="1">Forum Signature (180 px)
<input name="set_size" type="radio" value="2">Website Image (360 px)Chris2k Reviewed by Chris2k on . Radio Choice hey as im writing my own image script, i wanted to add a choice for users. so i written some test code b4 i implement, can any1 tell me if this wud work: <?php $selectRadio = $_POST; Rating: 5
-
15th Jul 2011, 09:20 AM #2Respected MemberWebsite's:
DL4Everything.com Soft2050.inyes
Your could will work fine
The posted data is the selected option value
In your case are: 1 and 2
So it will work fine
-
15th Jul 2011, 09:36 AM #3Member
You should put 2 in my opinion.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Hosting Choice
By Leeds in forum Hosting DiscussionReplies: 9Last Post: 4th Feb 2012, 04:42 PM -
Win a domain of your choice!
By pi0tr3k in forum Webmaster DiscussionReplies: 11Last Post: 26th Dec 2011, 08:37 PM -
if you had a choice
By tyyymyshoe in forum File Host DiscussionReplies: 2Last Post: 3rd Oct 2011, 06:43 AM -
Site Choice
By cyb3r in forum Webmaster DiscussionReplies: 4Last Post: 19th Sep 2011, 12:07 PM -
best hosting choice
By RSSeller in forum Hosting DiscussionReplies: 13Last Post: 5th Apr 2010, 05:23 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...