Location: PHPKode > projects > Decider > decider/Client/insert.php
<?php
require("../common/database.php");
$q_string="INSERT INTO client (Id, Name, Address,Tel,Email,Description)
VALUES
('$_POST[client_id]','$_POST[client_name]','$_POST[client_address]','$_POST[client_tel]','$_POST[client_email]','$_POST[client_url]','$_POST[client_description]')";

if (!mysql_query($q_string,$$link))
  {
  die('Error: ' . mysql_error());
  }
echo "1 record added";

mysql_close($$link)
?>
Return current item: Decider