daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 42 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. Passing PHP array into a Javascript array without AJAX or JQuery?
  2. $phoneNums = array();
  3. $minutesUsed = array();
  4. $plans = array();
  5. $charges = array();
  6.    
  7. var phoneNums = <?php echo $phoneNums ?>;
  8. var minutesUsed = <?php echo $minutesUsed ?>;
  9. var plans = <?php echo $plans ?>;
  10. var charge = <?php echo $charges ?>;
  11.    
  12. var phoneNums = <?php echo json_encode($phoneNums); ?>;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top