ThunderAI Posted June 12, 2008 Share Posted June 12, 2008 I want to do this: How do i make it work $sql2 = "UPDATE tbl_users_queries SET user_q_number = (user_q_number + 1), user_f_rows = '".$rowcounter."' WHERE user_id = '".$userid."' "; Link to comment https://forums.phpfreaks.com/topic/109951-solved-sql-math/ Share on other sites More sharing options...
jonsjava Posted June 12, 2008 Share Posted June 12, 2008 $sql2 = "UPDATE tbl_users_queries SET `user_q_number`= `user_q_number` + 1, `user_f_rows` = '".$rowcounter."' WHERE `user_id` = '".$userid."' "; Link to comment https://forums.phpfreaks.com/topic/109951-solved-sql-math/#findComment-564235 Share on other sites More sharing options...
ThunderAI Posted June 12, 2008 Author Share Posted June 12, 2008 $sql2 = "UPDATE tbl_users_queries SET `user_q_number`= `user_q_number` + 1, `user_f_rows` = '".$rowcounter."' WHERE `user_id` = '".$userid."' "; Worked great, thanks Link to comment https://forums.phpfreaks.com/topic/109951-solved-sql-math/#findComment-564334 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.