dob;
$birthdate = new DateTime($dob);
$today = new DateTime('today');
$age = $birthdate->diff($today)->y;
$user_id=$sentbox_message->user_id;
$interested= \DB::table('interests')
->where('sender_id',$id)
->where('interested_member',$user_id)
->get();
$count=count($interested);
$button_text = 'INTEREST';
if($count>0)
{
$button_text = 'INTERESTED';
}
$receiver_id = base64_encode($user_id);
?>