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

148 Like 37 Dislike
Previous php-forum Next php-forum
Other php-forum

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

Need help with some php code :)
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D

I'm

losing variables between php brackets
Hi

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

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

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