Tag Archives: json_encode

Send array values from PhP form to JavaScript

Description: Having a PhP form, we need to manipulate in JavaScript an object that depends on the form input. Solution: The best way to do it is to use an encoded JSON object or an AJAX call. The AJAX call … Continue reading

Posted in Script | Tagged , , , , | 2 Comments