wrong return value with jquery ajax and codeigniter
- by matthew
I do not know if this is specifically a jquery problem, actually I think it has to mostly do with my logic in the php code.
What Im trying to do is make a voting system that when the user clicks on the vote up or vote down link in the web page, it triggers an ajax call to a php function that first updates the database with with the required value,…