Use Javascript Object in PHP without POST or AJAX
<p>Is there a way to pass a JSON object directly into PHP and work with it?</p>

<p>Something like this:</p>

<pre><code>&lt;script&gt;
 var gridData = {"id":100,"level":"B","Zone":"Entry"}; 
&lt;/script&gt;
&lt;?php
echo "Your grid Information is:". [**How to get the gridData displayed here**]
?&gt;
</code></pre>

<p>I know I can pass to backend using AJAX, get the result and show it up in a div, but is there an easier way since I am already in this page and I already have the data in Javascript?</p>

<p>Also please note: I am working off some really old legacy code I inherited with lot of business logic calculations in a custom javascript platform, so please bear with me that the whole architecture is a bit odd :) </p>
