avibitton Posted July 14, 2012 Share Posted July 14, 2012 Hi im building a job portal website , but i want to add a feture of job views , same like products views on some platforms and same as on forum boards ( views of a post) . what i need is the code of the views number , if its based on "onclick" event with a counter so its easy but i guess its should be more sufisticated than that,at least i tought so . i hope someone can help me with this . thx Avi . Quote Link to comment Share on other sites More sharing options...
trq Posted July 14, 2012 Share Posted July 14, 2012 Do you have a question? Quote Link to comment Share on other sites More sharing options...
avibitton Posted July 15, 2012 Author Share Posted July 15, 2012 I guess so , my quastion is how to count the views ?. Quote Link to comment Share on other sites More sharing options...
ignace Posted July 15, 2012 Share Posted July 15, 2012 Not onclick but instead on the page you land. UPDATE jobs SET views = views + 1 WHERE id = 1 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.