Using the search term provided by the user I need to query the JSON array and pull results that match the given search term. The matching values need to be returned in a JSON format.
This is the programming logic as I see it now:
//DEFINE SEARCH TERM AS PROVIDED BY USER
$term = addslashes($_POST['searchfor']);
//DEFINE JSON ARRAY
$json_array = fopen('users.php');
//USING SEARCH TERM QUERY ARRAY
//PROVIDE THE RESULTS IN JSON FORMAT
Thank you very much. Works perfectly!