Help implementing high score system!

Hello everyone!!! can anyone please help me implement a high score table for this game???!?!?! This is my first time working with this sort of things so i’m a little lost!! I’m stuck in sending the info to the database and everything else from that point forward! any help would be greatly aprecciated!!

btw if u wanna play it, all u have to do is click and drag the red square and try to stay the longest without touching the other squares and the borders…

:link: