Why can't i insert this statement in to SQL
<p>I have this PHP code:</p>

<pre><code>            $uniqueSessionID = 'd41740fd9dc75cb8a3eeee27165d2323';
            $returnUrl = 'http://qapache.us.oracle.com:15671/OA_HTML/OA.jsp?OAFunc=ICX_\nCAT_PUNCHOUT_CALLBACK&amp;OAHP=ICX_POR_HOMEPAGE_MENU&amp;OASF=ICX_CAT_PUNCHOUT_\nCALLBACK&amp;transactionid=1577779317'
            $timestamp = $conn-&gt;real_escape_string('2016-02-10 07:57:21');
            $cxmlVersion = $conn-&gt;real_escape_string('1.1.007');
            $payloadID = $conn-&gt;real_escape_string('20040316032452.913060910.144270@ap6172rt.us.oracle.com');

            $sql2 = "INSERT INTO return_cart_url (`sessionid`, `timestamp`, `version`, `return_url`, `payloadID`)
                        VALUES ('{$uniqueSessionID}','{$timestamp}', '{$cxmlVersion}' '$returnUrl', '{$payloadID}')";

            if ($conn-&gt;query($sql2) === TRUE) {
                echo "New record created successfully";
            } else {
                echo "Error: " . $sql2 . "&lt;br&gt;" . $conn-&gt;error;
            }
</code></pre>

<p>And i get this error:
Column count doesn't match value count at row 1</p>

<p>All my columns are varchar. In the beginning i only had the columns uniqueSessionID and returnURL, and with these 2 it worked. It happened when I added the timestamp, cxmlVersion and payloadID.</p>

<p>Anyone who can explain me why this happens?</p>