Hi,
I am getting the error:
PHP Warning: in_array() expects parameter 2 to be array, string given in … on line 59
Can anyone tell me where I’m going wrong here?
$codes = array("ACC","ATT","BRE","BUR","CUR","EXP","FIR","FLO","GIT","LIG","LOSS","MAL","PRO","STO","SUB","THE","TRA","XAS","XILL");
while($row = $this->fetch_assoc($result)){
if(in_array($codes, $row['coverage'])){
Thanks.