Skip to main content

Timeline for PSET8 search empty JSON

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
May 12, 2017 at 19:20 history edited kzidane
edited tags
Dec 22, 2015 at 15:14 vote accept Gabriel
Dec 18, 2015 at 22:49 answer added Gabriel timeline score: 1
Dec 18, 2015 at 22:43 comment added Gabriel I've edited my post to what I receive and an example of what "geo" I use. In SQL I've hardcoded "Cambridge" and other variants that include "MA",full state name and postal code for testing purposes.
Dec 18, 2015 at 22:41 history edited Gabriel CC BY-SA 3.0
added 125 characters in body
Dec 18, 2015 at 22:38 comment added DinoCoderSaurus Well asdafa.... wouldn't match anything, so you should expect an empty array. What "geo" do you use when you test directly in SQL? When you say empty JSON array, do you mean $alpha_match? Are you transferring the data from $alpha_match to $places? Correctly?
Dec 18, 2015 at 22:11 history edited Gabriel CC BY-SA 3.0
added 68 characters in body
Dec 18, 2015 at 22:03 comment added Gabriel Even "asdafafasd" returns an empty JSON array.
Dec 18, 2015 at 21:50 history edited Gabriel CC BY-SA 3.0
added 7 characters in body
Dec 18, 2015 at 21:49 comment added Gabriel No, anything I type returns empty.
Dec 18, 2015 at 21:29 comment added DinoCoderSaurus Does your query return rows if your search term ($_GET["geo"]) is rome? I think I see the problem but I want to be sure before I dive in.
Dec 18, 2015 at 20:29 history asked Gabriel CC BY-SA 3.0