ADD NEW MEMBERS INTO DATABASE

window.location=”‘.site_url().’/login-member-list?error=1″;‘;
exit();
}
define (‘DB_USER’, ‘meena’);
define (‘DB_PASSWORD’, ‘Abid2013%u’);
define (‘DB_HOST’, ‘meena.db.12044005.hostedresource.com’);
define (‘DB_NAME’, ‘meena’);
$connect = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD) or die(‘Our database is currently down for updates, please check back later.’);
$db = @mysql_select_db(DB_NAME, $connect) or die(‘Our database is currently down for updates, please check back later.’);
$sql= “SELECT * FROM wp_meena_member WHERE member_id = ‘$member_id'”;
$res=mysql_query($sql);
if(mysql_num_rows($res)>0)
{
echo “ID you inserted already exists in database!”;
}
else {
$sql = “INSERT INTO wp_meena_member SET member_id = ‘$member_id’, member_password = ‘$member_password’, member_status = 1”;
//echo $sql;
//exit();
$query_exe = mysql_query($sql);
echo ‘Successfully inserted ‘;
}
}
?>


Enter password for above Email:


ID Email Address Password Status Enable/Disable
“>Unblock