Jump to content
Sign in to follow this  
tellyphp

Accessing Radio Button Values in PHP

Recommended Posts

I am having some difficulty with accessing radio button values with PHP code. Please see the attached file

x.txt

Share this post


Link to post
Share on other sites

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']
  • Like 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.