diff --git a/Sources/php_script/script/insertAndMakeListUser.php b/Sources/php_script/script/insertAndMakeListUser.php index 2c1db3e..fd05329 100644 --- a/Sources/php_script/script/insertAndMakeListUser.php +++ b/Sources/php_script/script/insertAndMakeListUser.php @@ -90,7 +90,7 @@ function insertUserAndReturnList(): array|int if (!empty($listUser)){ return 2; } - return 3; //Return an array + return $listUser; //Return an array } else { //If the method POST return nothing diff --git a/Sources/php_script/script/test.php b/Sources/php_script/script/test.php new file mode 100644 index 0000000..8512f2f --- /dev/null +++ b/Sources/php_script/script/test.php @@ -0,0 +1,8 @@ +