I'm doing something very wrong. All I get is the same output as calling ssi_recentAttachments(). Trying to debug, it appears it isn't entering the loop, unless that's wrong too. lol
<?php
require("SSI.php");
$attaches = ssi_recentAttachments(10, array(), 'return');
$i = 1;
foreach ($attaches as $attach)
{
$i++;
}
echo $i;
?>
This yields the table and 1. Let's sit back and laugh at my dumb noob mistake.