Which of the following is incorrect way to take a PHP variable named $name and reassign it to a javascript variable var name?
Correct Answer: <script> var name = <?php echo json_encode($name);?>; </script>
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions