Skip to content Skip to sidebar Skip to footer

Codeigniter Jquery Ajax: Post Data To Controller Issues

I'm working on login system in codeigniter 3.0 and jquery ajax. I want to post data to controller using ajax and return a value if the data thrown by ajax is match from the mysql d

Solution 1:

In your controller method, change this:

if (!$user && $user == null) {

To this:

if (!$user || $user == null) {

Post a Comment for "Codeigniter Jquery Ajax: Post Data To Controller Issues"