Skipjackrick Posted February 19, 2010 Share Posted February 19, 2010 Am I missing something here? <?php $length = 2; $world_record = 1; $anglerId = 2; if ($length > $world_record) { //Update kayak man points $record_kmpoints = "UPDATE anglers SET kayakman_points = kayakman_points + 5 WHERE anglerId=$anglerId"; $wr_kmpoints = mysql_query($record_kmpoints) or exit(mysql_error()); } ?> Link to comment https://forums.phpfreaks.com/topic/192683-update-syntax-issue/ Share on other sites More sharing options...
Skipjackrick Posted February 19, 2010 Author Share Posted February 19, 2010 Nevermind... god I am douche sometimes.. Link to comment https://forums.phpfreaks.com/topic/192683-update-syntax-issue/#findComment-1015057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.