Front end post submissions do not get submitted in the category
an echo before inserting content, are you sure ? Possibly sending headers, blocks insert POST request and set pid to empty value. if (isset ($_POST[‘description’])) { $description = $_POST[‘description’]; } else { echo ‘Please enter some notes’; }