Hi,
Can anyone see what's wrong with this code. I can only get it to outout the first name and value of the array.
$fieldsarray = array(
array ( name => "probno", value => "$prob"),
array ( name => "originator", value => "$originator"),
array ( name => "chassis", value => "$chassis")
);
foreach ($fieldsarray as $item)
{
echo $fieldsarray["name"];
echo " ";
echo $fieldsarray["value"];
echo "<br/>";
}
Thanks in advance, Jo