I solved my issue a few days ago (I thought I replied to this thread..) i dont know what the problem was, but basically. - renamed old code (problem) to (name).bak.php - backup file.. did a new file of original name - copy/pasting the routines one at a time.. & the 'new' script worked... dont know why original one didn't G. ---------- Forwarded message --------- From: Patty Aguayo <patty@xxxxxxxxxxxxxxxx> Date: Tue, 20 May 2025 at 10:22 Hi Gordon, Hope you are well ... It's just a hunch from having been bitten by empty responses in Apache/PHP scripts before ... In my experience, any whitespace outside of PHP code is treated as the beginning of HTML output and so it will interrupt execution of PHP further down ... -- Gordon.