I built an application that outputs json data when a user inputs their zipcode to find out who represents them in congress. Currently the user sees json output in the browser. How can i get var_dump to render just the key value pairs without the characters into the HTML table I created?
End result: To output json string into readable text for the front-end user, like so: https://whoismyrepresentative.com/search/zip/10012
PHP https://whoismyrepresentative.com/getall_mems.php?zip='.$_GET['zip'].'&output=json'); $rep_array = json_decode($json_rep); var_dump($rep_array); ?>
HTML Table:
Your RepsName '.$row["title"].''; } ?>