Jump to content

HTML + PHP variables not matching up

Recommended Posts

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. HTML.thumb.jpg.821f03298fa70a29355f5de8696c7585.jpg

No Matter if I select 10 or 0. I still get 15 being passed to PHP. 


Any help is appreciated.



-HP Garcia

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

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.