How can I receive different response from PHP file?

exception or error: Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 hour ago. I wonder how to get a different name each time I request this file first …

jquery – Trying to send a json encoded array from php to a js file, "Unexpected end of input"

exception or error: So im trying to send an object array to a js function anytime I push a button. <button onclick=”actualizarProcesos(<?php echo json_encode($p_array)?>);”>X</button> I’ve made sure my json isnt sending any weird characters as it is mostly int except for the object attribute “name” which is string. That function is in a different js …