Question about Radio button/PHP/MySQL

Posted by Marcelo on Stack Overflow See other posts from Stack Overflow or by Marcelo
Published on 2010-06-07T01:50:54Z Indexed on 2010/06/07 2:02 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

Hi, I'm an engineering student and I'm developing a simple software based on HTML, PHP and mysql. I learned this topics on w3schools. I know only the basics. I tried to search about this in this website but I found questions about PHP, MySQL and HTML radio buttons which were much more complex than I need and that I could understand. Sorry for the English.

(Q1) Ex: $email=$_REQUEST['email'] , in this case the input is text, if it where like a radio button for ex: sex: male or female, how would it be?

(Q2) what would be the type of this field (for exemple sex in question 1) in the database: text, int, varchar ?

Thanks for the attention

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql