Thanks, worked like a charm. Would have taken me a while to figure out. PHP is syntactically a bit different from what I'm used to, and up til now I've just modified existing PHP code. It needs a decent editor also to color code it, otherwise it quickly starts to look like ASCII art when mixed up with HTML...
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.