You can use the echo method to turn off the screen refresh, and then turn it back on after your code is done.
Fair warning: I strongly suggest having error handling such that if an error is triggered, your error handler will turn the echo back on. Otherwise you risk leaving echo off for the user's machine, which is exceedingly annoying.



