Saturday, June 26, 2021

access variables from php to javascript - easiest way

 <-- KIRTISHIL PATIL-->


 var variable_name = <?php echo json_encode($php_variable, true); ?>;

No comments:

Post a Comment

Kirtishil Patil