php variable datatypes
<p>I've just decided to venture off into PHP land for fun and to learn, reading that php is loosely typed and that $var's can be reused is this true that the code below will pose no problem? </p>

<pre><code>$x = 996;
$x = mysql_query("SELECT aString FROM table1");
</code></pre>

<p>the variable x will stored as an int datatype with 996, then after the second line it will stored as a string datatype with the string from the query?</p>

<p>There wont be any casting errors?</p>
