I want to display my PHP variable to JavaScript value Here is my PHP and javascript code.
<?php
$text = "Rates are subject to change without prior notice";
?>
<script>
$('#typewriter').typewriter({
prefix : "*** ",
text : ["Rates are subject to change without prior notice"],
typeDelay : 50,
waitingTime : 1500,
blinkSpeed : 200
});
</script>
inside the text parameter i want to pass my PHP variable.