If I have a loop that requests my data from my form:
for ($i=0;$i < count($_POST['checkbx']);$i++)
{
// calculate the file from the checkbx
$filename = $_POST['checkbx'][$i];
$clearfilename = substr($filename, strrpos ($filename, "/") + 1);
echo "'".$filename."',";
}
how do I add that into the sample array below?:
$files = array( 'files.extension', 'files.extension', );