memorry error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mabsoott
Forum Newbie
Posts: 1
Joined: Fri Sep 25, 2009 7:19 am

memorry error

Post by mabsoott »

hi i am new in php currently working on orange hrm open source software,last i have configured and installed orange hrm and apachi software but get error when i run software is "C:\wamp\www\orangehrm-2.4.2\lib\models\hrfunct\EmpLicenses.php on line 313" i dont know why it saying me that and code behin there is like this




function getAssEmpLicenses($getID) {

$this->getID = $getID;
$tableName = 'HS_HR_EMP_LICENSES';
$arrFieldList[0] = 'EMP_NUMBER';
$arrFieldList[1] = 'LICENSES_CODE';
$arrFieldList[2] = 'LICENSES_DATE';
$arrFieldList[3] = 'LICENSES_RENEWAL_DATE';

$sql_builder = new SQLQBuilder();

$sql_builder->table_name = $tableName;
$sql_builder->flg_select = 'true';
$sql_builder->arr_select = $arrFieldList;

$sqlQString = $sql_builder->selectOneRecordFiltered($this->getID);

//echo $sqlQString;
$dbConnection = new DMLFunctions();
$message2 = $dbConnection -> executeQuery($sqlQString); //Calling the addData() function

$i=0;

while ($line = mysql_fetch_array($message2, MYSQL_NUM)) {

for($c=0;count($arrFieldList)>$c;$c++)
$arrayDispList[$i][$c] = $line[$c];

$i++;

}

if (isset($arrayDispList)) {

return $arrayDispList;

} else {

$arrayDispList = '';
return $arrayDispList;

}

}

plz help me out
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: memorry error

Post by Mark Baker »

And what's the error message?
Post Reply