i have a registration form which code are below
<html>
<head>
</head>
<body>
<table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="form1" method="post" action="user_reg_get.php">
<table width="100%" border="0" cellspacing="4" cellpadding="0">
<tr>
<td colspan="3"><strong>Sign up</strong></td>
</tr>
<tr>
<td width="76">Name</td>
<td width="3">:</td>
<td width="305"><input name="name" type="text" id="name" size="30"></td>
</tr>
<tr>
<td>E-mail</td>
<td>:</td>
<td><input name="email" type="text" id="email" size="30"></td>
</tr>
<tr>
<td>Password</td>
<td>:</td>
<td><input name="pass" type="text" id="pass" size="30"></td>
</tr>
<tr>
<td>Birthday</td>
<td>:</td>
<td><input name="birth" type="text" id="birth" size="30"></td>
</tr>
<tr>
<td>Sex</td>
<td>:</td>
<td>
<input type="radio" name="sex" onclick="myFunction(this.value)" value="Male">Male
<input type="radio" name="sex" onclick="myFunction(this.value)" value="Female">Female
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset"></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>
and form action code are below
<?php
include('config.php');
// Mysql database table name
$tbl_name=temp_members;
// Random confirmation code
$confirm_code=md5(uniqid(rand()));
// values sent by registration form
$name=$_POST['name'];
$email=$_POST['email'];
$pass=$_['pass'];
$birth=$_['birth'];
$sex=$_POST['sex'];
// Insert data into database
$sql="INSERT INTO $tbl_name(confirm_code, name, email, pass, birth, sex)VALUES('$confirm_code', '$name', '$email', '$pass', '$birth', '$sex')";
$result=mysql_query($sql);
// if suceesfully inserted data into database, send confirmation link to email
if($result){
// ---------------- SEND MAIL FORM ----------------
// send e-mail to ...
$to=$email;
// Your subject Line
$subject="Your confirmation link here";
// From
$header="from: Your Name <you@yourdomain.com>";
// Your message
$message="Your Comfirmation link \r\n";
$message.="Click on this link to activate your account \r\n";
$message.="http://www.yourweb.com/confirmation.php?passkey=$confirm_code";
// send email
$sentmail = mail($to,$subject,$message,$header);
}
// if not found
else {
echo "Not found your email in our database";
}
// if your email succesfully sent
if($sentmail){
echo "<div style='color:#0000ff; size: 14px; font-family: cambria; align-items:center;'>Dear $name Your Confirmation link Has Been Sent To $email.<br>Please Click on the Link to Activate Your Account.</div>";
}
else {
echo "Cannot send Confirmation link to your e-mail address";
}
?>
everything will be published excluding radio button data.
what should change i do for publish that data