IM getting the error
Notice: Array to string conversion php
by calling my array from a outside class.. can anybody spot the problem here
script home.php
echo b::addarray(123, sea, 1);//i tried this way,dint work either("123","sea","1")
die();
the script with the array
class b
{
static function addarray($a,$b,$c){
$red = array();
array_push($red, $a,$b,$c);
return $red;
}
}