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
$objClass = array();
$objClass[0]->custId = $_GET['id'];
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.
You don’t actually declare the object. You need to use
First