Jump to content

Overwriting


Recommended Posts

Posted

How to make 3 lines written to the database, and then they started to be overwritten

Example:

06.03.2022\n

05.03.2022\n

04.03.2022 

And then the bottom line was deleted and the previous one was written in its place

Example:

07.03.2022\n

06.03.2022\n

05.03.2022

 

 

Posted

What it is exactly what you mean? are you using mysql? you should show us the code you need help for so people in the community can help you

 

Posted

I don't have the code. I want to make it so that when a player logs into an account, the date and time of his login are recorded in the database (internal.db). I want the date to be recorded a certain number of times and then start being overwritten. Let's say a player logged in on 01.03.2022, then he logged in on 02.03.2022, then 03.03.2022, and when he logs in on 04.03.2022, the date 01.03.2022 is deleted

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...