title: Getting mysql result of item update
body: <p>How i can alter my php code, so it can echo "if the item has just been created or updated?"</p>
  
  <pre><code>$query_item_create = "INSERT INTO `item` (`category_id`, `id`) VALUES ('$catid', '$id')";
  $query_item_update = "UPDATE `item` SET `date`='$date',`info`='$info' WHERE `id`='$id'";
  mysql_query($query_item_create);
  mysql_query($query_item_update);
  </code></pre>