title = $post_title; $articulos -> date_added = $post_date; $articulos -> autor = $post_author; $articulos -> body = $post_content; } elseif ((!$_POST['submitted']) && ($_GET['id'])) { $articulos -> Get($id); } elseif (($_POST['submitted']) && ($_GET['id'])) { $articulos -> Get($id); $articulos -> title = $post_title; $articulos -> date_added = $post_date; $articulos -> autor = $post_author; $articulos -> body = $post_content; } else { } ?>