forumnz Posted June 7, 2008 Share Posted June 7, 2008 I want to update a db row +15.. This is what I have so far.. mysql_query("UPDATE webdevscon SET bal = +15 WHERE id='$wdid'"); Why won't this work? Quote Link to comment Share on other sites More sharing options...
DarkWater Posted June 7, 2008 Share Posted June 7, 2008 $query = "UPDATE webdevscon SET bal = bal+15 WHERE id='$wdid'"; $result = mysql_query($query) or die(mysql_error()); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.