HPGarcia Posted December 4, 2019 Share Posted December 4, 2019 I'm working a membership application page for my amateur radio club. I'm currently stumped passing a variable from HTML to PHP. The variable is called "nametag" and it's a "radio" type. No Matter if I select 10 or 0. I still get 15 being passed to PHP. Any help is appreciated. Thanks -HP Garcia Quote Link to comment https://forums.phpfreaks.com/topic/309623-html-php-variables-not-matching-up/ Share on other sites More sharing options...
Psycho Posted December 4, 2019 Share Posted December 4, 2019 Put the code in your post as text (using the code tags) not as an image. As to your problem. this is NOT doing what you think it is if($Name_Tag = 15) Read this: Comparison Operators Quote Link to comment https://forums.phpfreaks.com/topic/309623-html-php-variables-not-matching-up/#findComment-1572159 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.