print passes values to Mysql

ajunker200

New Member
i am using this code to add values to database\[code\] <?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(); ?>\[/code\]now i want that when query pass this show me that which values are added like this"Following record is updated successfully debamt = 1000debdes = testend "
 
Back
Top