When I try to check user input name is already exist by ajax form submit !But it only get Undefined index: username in sessions.php ,what is missin
Undefined index: username
sessions.php
Use the following code in your html code and remove contentType : false, processData: false