Why does this query have .?
<p>I want to know why the following query have . and "" in ".$_POST['date']." etc.</p>

<pre><code>$query = "INSERT INTO eventcal ('eventDate','eventTitle','eventContent','user',
'user_id') VALUES('".$_POST['date']."','".addslashes($_POST['eventTitle'])."',
'".addslashes($_POST['eventContent'])."')";     
</code></pre>

<p>If I change to the following, will it make any differences?</p>

<pre><code>VALUES('$_POST['date']','addslashes($_POST['eventTitle'])',
'addslashes($_POST['eventContent'])')
</code></pre>

<p>Thanks in advance.</p>
