&amp; php post receive problem
<p>my ajax request is</p>

<pre><code>ajaxRequest.send("var1=" + var1.value + "&amp;var2=" + var2.value + "&amp;var3=" + var3.value); 
</code></pre>

<p>but the browser sends the request as</p>

<pre><code>var1= hello&amp;amp;var2= world&amp;amp;var3=1
</code></pre>

<p>php side receives the data as a post</p>

<pre><code>$variable1 = $_POST['var1'];
$variable2 = $_POST['var2'];
$variable3 = $_POST['var3'];
</code></pre>

<p>only the first variable receives the data. The las two variables do not receive any data.</p>

<p>the correct format of sending the request as i know is</p>

<pre><code>var1= hello&amp;var2= world&amp;var3=1 
</code></pre>

<p>But why did the browser appended some useless characters that made the php side unable to recognise what has been sent ?</p>
