I use GET method and use $data like ?id=1 in url. But, the result is equal to without $data Then, `hello.com/api/student?id=1` the result is same to `hello.com/api/student` It's my code: <https://github.com/mzaini30/zen-php/blob/master/index.php>
I use GET method and use $data like ?id=1 in url. But, the result is equal to without $data
Then,
hello.com/api/student?id=1the result is same tohello.com/api/studentIt's my code: https://github.com/mzaini30/zen-php/blob/master/index.php