Member Page Loading…

Right now asking user directly
//
//$m = $_POST[‘dob_month’];
//$d = $_POST[‘dob_date’];
//
$signID = $_POST[‘sign’];

// echo “Created post object”;
//

///////////////////////////////////////////////////////////////////////////////////////////////////////

// Default Post Content
$my_post[‘post_content’] = ‘ Welcome back ID, “signID”); $sign=$id[0]; ?>!
This is your personalized horoscope page from DecisionCare which is updated daily. Please bookmark this page or remember the URL so it is easy for you to visit again.
Below are your free personalized horoscopes. Coming soon, we will be adding even more free horoscopes and services, so be sure to be visit again soon!

My Free Horoscopes
Monthly Horoscope
Yearly Horoscope
My Free Love Horoscopes
Monthly Horoscope
Yearly Horoscope
My Free Career Horoscopes
Monthly Horoscope
Yearly Horoscope

‘;

///////////////////////////////////////////////////////////////////////////////////////////////////////

// Insert the post into the database
$postID = wp_insert_post( $my_post );
$postIDtry = $postID;

// Add variables to custom keys for later reference
if($postID)
{
add_post_meta($postID, ‘signID’, $signID);
add_post_meta($postID, ’email’, $_POST[’email’]);
add_post_meta($postID, ‘dob_month’, $_POST[‘dob_month’]);
add_post_meta($postID, ‘dob_date’, $_POST[‘dob_date’]);
add_post_meta($postID, ‘dob_year’, $_POST[‘dob_year’]);
add_post_meta($postID, ‘birthtime_hrs’, $_POST[‘birthtime_hrs’]);
add_post_meta($postID, ‘birthtime_min’, $_POST[‘birthtime_min’]);
add_post_meta($postID, ‘from’, $_POST[‘from’]);
} // if postID created

?>
Your personalized page has been created.
We are loading your personalized page… Remember to enter your password!