Vivid Lust Posted December 23, 2007 Share Posted December 23, 2007 Please help! Heres the query: INSERT INTO hits +1 WHERE id = 1 Thanks. 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 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 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... 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
Archived
This topic is now archived and is closed to further replies.