Hi dear,
Welcome to the Kodular community!
Take a look at this part here,

if you notice, you’re passing a URL that corresponds to a join of username and checkID.php, which ends up pointing to “usernamecheckID.php”.
You should point to a URL that provides your PHP file.
There are extensions that allow you to use SQL directly from the app