 <p>Pass that particular id in your remote url like <code>remote: "../admin/checkEmail.php?data=email&amp;id=23"</code> say your particular id be 23</p> <p>and in your checkEmail.php you can write query like</p> <pre><code>"SELECT email FROM table_name WHERE email='".$_GET['email']."' AND id!='".$_GET['id']."'" </code></pre> <p>same way you can do for username also</p>