I have a button that refreshes my page, which then randomly pulls a record from my database
I need 2 things
1. I need this button to continue to pull a random row from my database, but if the button is clicked, i need it to pull randow row, without it being the same row that was already shown in the browser session.
2. i need 2 buttons that both do the same thing in #1, but they also need to keep a running number. so if button A is clicked 10 times, there will be a score of 10 shown in a table anywhere on the page. button B will reduce score by 1.
basically by clicking one button, random generation of a mysql record, and a score of 1.
if the other button is clicked, random generation, and a subtraction of 1. so after however many records, users can see how many points they have based on what button is clicked.
ill send my code, after i choose someone
basically right now i have a
ORDER by rand() LIMIT 1 query
and then a button later on which is:
<input value="Next Card &gt;&gt;" name="Input" type="button" onclick="[url removed, login to view](true)" />
i will send escrow payment immediately. Thanks!