My array shows this "Array ( [0] => Array ( [Name] => GL1020 [Desc] => 2 pc lace flared chemise ) )"

but this displays nothing...

$oos = $_SESSION['outofstock'];
foreach ($oos as $row9) {
$NameCode = $row9['Desc'];
$ouput[] = $NameCode;
$ouput[] = ", ";
}

..
...
.

return join('',$output);

Any idea why?

    Because you're spelling it "$ouput" instead of "$output"?

      Write a Reply...