print passes values to Mysql
<p>i am using this code to add values to database</p>

<pre><code>  &lt;?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 &lt;br/&gt;";


else 

echo mysql_error(); 



?&gt;
</code></pre>

<p>now i want that when query pass this show me that which values are added like this</p>

<p>"Following record is updated successfully </p>

<p>debamt = 1000
debdes = test</p>

<p>end "</p>
