Using jquery post request to same page
<p>I am trying to send the value "hi" to the php variable "text" via a post request made to the current page.</p>

<p>jquery</p>

<pre><code>$.post("", "hi");
</code></pre>

<p>php</p>

<pre><code>if (isset($_POST['POST'])) {
  $text = $_POST['POST'];
}
</code></pre>
