Đã hoàn thành

165686 simple PHP button & score trak

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 >>" name="Input" type="button" onclick="[url removed, login to view](true)" />

i will send escrow payment immediately. Thanks!

Kĩ năng: Bất kì công việc gì, MySQL, PHP

Xem nhiều hơn: session php, random no generation in c, pull escrow, button onclick php, score score, escrow value, trak, simple query, score, row b, without page reload, simple continue, php random name, random name php, can keep record database, onclick php mysql, php generation, php onclick mysql, mysql query php, simple location based, php simple order database, browser clicking, php simple card, escrow payment php, order payment mysql php

Về Bên Thuê:
( 15 nhận xét ) Chicago, United States

ID dự án: #1911877

Được trao cho:


Hello. I can do that right now. Will be done during 1 hour. Quality work guaranteed. Thank you, Best Regards, Valentin

$25 USD trong 0 ngày
(0 Đánh Giá)