pass PHP variable to javascript value : <p>I want to display my PHP variable to JavaScript value
Here is my PHP and javascript code. </p>

<pre><code>&lt;?php 
$text = "Rates are subject to change without prior notice";
?&gt;
&lt;script&gt;
    $('#typewriter').typewriter({
        prefix : "*** ",
        text : ["Rates are subject to change without prior notice"],
        typeDelay : 50,
        waitingTime : 1500,
        blinkSpeed : 200
    });
&lt;/script&gt;
</code></pre>

<p>inside the text parameter i want to pass my PHP variable.</p>
