Javascript Mysql PHP

PHP Radio Button Example With Mysql DB


Simple PHP Radio button enable and disable textarea textbox example in php using Mysql
				
include "db.php";
$query = "SELECT * FROM Reasons";
$result = mysql_query($query);
if(mysql_num_rows($result)) {
while($row = mysql_fetch_assoc($result)){
echo " name='{$row['desc']}' onclick='disable()'>".$row['desc']."
";
}
echo "Other";
}
?>






$reason = $_GET['reason'];
echo $reason;
?>