update sql when refresh - php


Posted on 16th Feb 2014 07:03 pm by admin

hi
I have made a table (attachement)

the users can update the sql database using + or x buttons.
My problem is that the last row under value2 decreases by one everytime i refresh the page. How do i prevent this from happening?

Thankfull for any links to tutorials or code

No comments posted yet

Your Answer:

Login to answer
148 Like 37 Dislike
Previous forums Next forums
Other forums

PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

A little help needed passing hidden values to next page
I have a page that has hidden values in a form.

example
Code: <input name='signupID

checkbox update
I am having a brain fart right now and i cant remember how to do this. if anyone could help that wou

losing variables between php brackets
Hi

have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys

New to mysqli library - Multiple query problem
Greetings,

I am writing a batch program that executes 3 queries on a single page. Using mysql

Why is this query failing?
Why is this not working?
$query = "SELECT * FROM `users` WHERE `userid` = " . $USERID

Simple Scraper... Weird Output
Okay, maybe I just need a Blue Monster and some sleep, but....

I'm scraping a ringtone site

Downloading file (Headers)
I'm trying to make users download a file, but they must wait 60 seconds before it begins.

But

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash