Gondolom, kb itt tartasz:
foreach ($array as $value) {
print $value;
}
Na ebbe kell még egy feltétel:
if ($value<0) print $value;