Newbie: Local server issues

I’ve been struggling to create a simple page to display results from a query for a few days. Any leads to why the page only works properly when you call the page through the Wappler webserver and not WAMP Server?

Question 2: How do I get a query to filter from a passed URL variable such as: yahoo.com/search?event=variable

To debug wamp issue please follow: