if (empty($userModel->picture)) { $userModel->picture = "groom.jpg"; } $member_id = $_POST['member_id']; $userModel->username = $_POST['your_name']; $userModel->member_id = $_POST['member_id']; $userModel->party_date = $_POST['party_date']; $userModel->description = $_POST['description']; $userModel->video = $_POST['video']; $userModel->invitation = $_POST['invitation']; $userModel->phone = $_POST['phone']; $userModel->email = $_POST['email']; $userModel->address = $_POST['address']; $userModel->facebook = $_POST['facebook']; $userModel->party_type = $_POST['party_type']; $userModel->create(); header("location:create_personal2.php?id={$userModel->member_id}"); } ?> <body> <div id="box_wrapper"> <section id="mainslider"> <div class="flexslider"> <ul class="slides"> <li> <div class="slide_overlay"> <img src="images/personal/flex_slide03.jpg" alt=""> </div> </li> </ul> </div>