[PHP]$catarray= $_POST['catlist'];
[/PHP]
shouldn't need parenthesis.
Have you tried:
[PHP]print_r($catarray);[/PHP]
I haven't pulled arrays from POST yet, so I'm not sure how it works. Here is a small script to output all the variables that are defined in php. You will be interested in the _POST section :)
[PHP]$output = get_defined_vars();
$fh = fopen('output.txt', at);
foreach($output as $yek => $out)
{
fwrite($fh, "*******************$yek****************************\r\n\r\n");
foreach($out as $key => $o)
{
fwrite($fh, "$key\t\t\t\t");
fwrite($fh, $o);
fwrite($fh, "\r\n\r\n");
}
}
fclose($fh);[/PHP]
That way you can be sure what the data looks like and if it is indeed being transeferred from the html form.
Dance