CODE am trying:
what about update radio button's logic ?? Is this OK ??
if(isset($_POST['btnSubmit']))
{
$book_save = $_POST['book_title'];
$author_save = $_POST['author_name'];
$gender_save = $_POST['gender'];
mysql_query("UPDATE bookss SET book_title ='$book_save',author_name ='$author_save',gender='$gender_save' WHERE ID = '$id'")
or die(mysql_error());
i refer 2 links in SO but m not getting properly with radio button .... Suggestions are always Welcome ...
mysql_*functions in new code. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO or MySQLi - this article will help you decide which.