Welcome Guest, Not a member yet? Register   Sign In
Form validation jquery problem
#3

[eluser]V4Mp[/eluser]
I have a function wich das this

Code:
function check_exists_useraccount($account)
    {
        
        $query_str = "SELECT account from user_details where account = ?";
    
        $result = $this->db->query($query_str, $account);
        
        if ($result->num_rows() > 0)
        {
            //account exists
            return true;
            
        }
        else
        {
            //account doesn't exists
            return false;
        }
        
    }

But I dont understand how to implent it into the jquery function...


Messages In This Thread
Form validation jquery problem - by El Forum - 11-26-2010, 04:59 AM
Form validation jquery problem - by El Forum - 11-26-2010, 03:13 PM
Form validation jquery problem - by El Forum - 11-26-2010, 03:18 PM
Form validation jquery problem - by El Forum - 11-26-2010, 03:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB