php Strict Standards: Creating default object from empty value
<p>i am getting this error on every page where i am trying to get any kind of id  for instance i am using the following code  </p>

<pre><code>$objClass = array();
$objClass[0]-&gt;custId = $_GET['id'];
</code></pre>

<p>i am getting error in the second line. though it is working fine but it just keeps on showing everywhere. I read the answer with stdclass but i dint get it so if ur giving this as a solution plz explain hw to use it cz im quite new in the field.
also can somebody tell me how to hide php errors.</p>
