I figured it out... I was relying solely on the 'return $mod_date' to return the value of the string, and forgot completely to put the variable in my other script, like so:
PHP Code:
$mod_date = getModDate($db_table);
I was just calling the function, like 'getModDate($db_table)'. Doh!
Thanks, though!!
:o