Vivid Lust Posted December 23, 2007 Share Posted December 23, 2007 Please help! Heres the query: INSERT INTO hits +1 WHERE id = 1 Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/82920-solved-whats-wrong-with-this-query/ Share on other sites More sharing options...
Vivid Lust Posted December 23, 2007 Author Share Posted December 23, 2007 I meant the query: SET 'hits'+1 WHERE 'id' = 1 Quote Link to comment https://forums.phpfreaks.com/topic/82920-solved-whats-wrong-with-this-query/#findComment-421709 Share on other sites More sharing options...
Barand Posted December 23, 2007 Share Posted December 23, 2007 UPDATE tablename SET hits=hits+1 WHERE id = 1 Quote Link to comment https://forums.phpfreaks.com/topic/82920-solved-whats-wrong-with-this-query/#findComment-421827 Share on other sites More sharing options...
fenway Posted December 23, 2007 Share Posted December 23, 2007 Just remember about threads... Quote Link to comment https://forums.phpfreaks.com/topic/82920-solved-whats-wrong-with-this-query/#findComment-421997 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.