The add_item.php script should work correctly now.