finally got new_page to post by adding name attribute, modified create_page.php too. Script writes to db but has errors.