Is it possible to refresh only the part of the page? How?

the part:

```
if (checkExpiry($member->expires)==true) {
    print timeLeft($leftts);
} else {
    print "expired";
}

```

I have table which is showing name, email, time until membership ends and I need to refresh 'time until membership ends' every second.