Jason,
There's all sorts of great functions for string manipulation in the String Functions section of the PHP Manual🙂 This will drop the last character from a given string:
$newString = substr($oldString, 0, (strlen($oldString) - 1));
HTH.
Geoff A. Virgo