Hello,
I wanted to create a script that generate 1 of 3 random links.
But each link should be output only 1 time.
At the moment I have the followring script:
If somebody click on the Button a random Link will be shown.
Then the script have to create a new row the the name of the link as value.
If somebody else click on the button the script have create a random link, that won't be exist in the database.
If all 3 Links exist in the database, the script have to write "ERROR".
But I don't know, How I can use a database on it!
I wanted to create a script that generate 1 of 3 random links.
But each link should be output only 1 time.
At the moment I have the followring script:
Klick the Button to get a Link
If somebody click on the Button a random Link will be shown.
Then the script have to create a new row the the name of the link as value.
If somebody else click on the button the script have create a random link, that won't be exist in the database.
If all 3 Links exist in the database, the script have to write "ERROR".
But I don't know, How I can use a database on it!
Replies
Know the answer? Post it — somebody with the same question will find it here.