I have read few answers on SO, one of this suggests me to do the following but I get array
as a result.
Basically we are on the search result and we have this:
$term = $_GET['s'];
if I do echo $term;
I get America 2018
while I would like to have:
Location: America
Time: 2018
I tried using explode:
$term = explode("\n", $term); echo $term;
but the result is Array