Parameter through url in ionic not working

this.http.get(‘http://localhost/student/manage-student.php’, {
search: newparam
.map(res => res.json())
.subscribe(data =>
this.items = data;


I think your post was in the wrong category, because it doesn’t look like v1, but correct me if I’m wrong. data and items are not very descriptive names, but the biggest problem is that you don’t describe expected and actual behavior. “not working” is useless.

PHP return parameter not working

$roomID = filter_var($_REQUEST[‘searchnew’], FILTER_SANITIZE_NUMBER_INT);

What part of “not working is useless” was unclear?

$_REQUEST[‘searchnew’] - not fetch any value from ts page