Mail form problem, Radio button not working |
Mail form problem, Radio button not working |
ApoMarn |
Feb 5 2018, 11:20 AM
Post
#1
|
Group: Members Posts: 6 Joined: 12-January 17 Member No.: 26,262 |
Can anyone tell me what I'm doing wrong here?
$email_message = ....... $email_message = "Medium: ".$medium."\r\n"; $email_message = ..... <FORM action="inspection_copies.php" method="post"> ... <p><input type="radio" name="medium" value="CD-ROM" checked> CD-ROM <br><input type="radio" name="medium" value="USB drive"> USB drive ... </FORM></b> The rest of the form works perfectly but the radio button line sends only the title (Medium) without any value. |
Christian J |
Feb 5 2018, 04:13 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
The example doesn't show how you create the $medium variable, e.g. by using $_POST['medium'] or similar.
|
Lo-Fi Version | Time is now: 24th April 2024 - 10:34 AM |