i am using this code to add values to database
<?php
$debdes = $_POST['debdes'];
$debamt = $_POST['debamt'];
$crdes = $_POST['crdes'];
$cramt = $_POST['cramt'];
$date = $_POST['date'];
include_once ("db.php");
$ucbook = "INSERT INTO cbook(debdes,debamt,crdes,cramt,date) VALUES ('$debdes','$debamt','$crdes','$cramt','$date');";
if (mysql_query($ucbook))
echo "One Record Updated Successfully with the following details <br/>";
else
echo mysql_error();
?>
now i want that when query pass this show me that which values are added like this
“Following record is updated successfully
debamt = 1000
debdes = test
end “
if the query does not fails, you can just show your values: