tellyphp Posted June 1, 2014 Share Posted June 1, 2014 I am having some difficulty with accessing radio button values with PHP code. Please see the attached file x.txt Quote Link to comment https://forums.phpfreaks.com/topic/288914-accessing-radio-button-values-in-php/ Share on other sites More sharing options...
Jacques1 Posted June 1, 2014 Share Posted June 1, 2014 Well, “some difficulty” isn't exactly the most specific error description. So what's the problem? And what's the loose parenthesis doing there? $_POST(['sexType'] Quote Link to comment https://forums.phpfreaks.com/topic/288914-accessing-radio-button-values-in-php/#findComment-1481564 Share on other sites More sharing options...
tellyphp Posted June 1, 2014 Author Share Posted June 1, 2014 Hi I removed the parenthesis, but I still have the same problem Quote Link to comment https://forums.phpfreaks.com/topic/288914-accessing-radio-button-values-in-php/#findComment-1481583 Share on other sites More sharing options...
Jacques1 Posted June 2, 2014 Share Posted June 2, 2014 What is the problem? We can't see your screen from here, you know? If you want help, you need to actually tell us what you see. Otherwise, you'll have to do this on your own. I'm not gonna play error guessing. Quote Link to comment https://forums.phpfreaks.com/topic/288914-accessing-radio-button-values-in-php/#findComment-1481591 Share on other sites More sharing options...
Solution tellyphp Posted June 2, 2014 Author Solution Share Posted June 2, 2014 Hi I solved the problem: For some reason it seems like whenever I removed the comment to test the two lines of PHP code that I was leaving off the ''$' symbol from before "sexType". The code is now working. Thanks everyone for your contributions. Telly Quote Link to comment https://forums.phpfreaks.com/topic/288914-accessing-radio-button-values-in-php/#findComment-1481596 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.