Hello i made a search box and i want to make a link what will pass the search word that the user put in the search box.
aa is what the user put for search. Now i want to get that, sort it and return the data.
I do this
j+= '<div>Search for all <a href="'+apiBaseUrl+'allSearches.php?search='+searchword+'">'+searchword+'</a></div';
and in allSearches.php returns nothing when in should return aa
<?php $searchword=$_GET['search']; ?> <div><?php echo $searchword; ?> </div>