Just wondering if it's possible to have PHP be able to clear the contents of the screen then post new data.
Thanks
Not sure what you mean ... try to be a little more explicit.
PHP is a server side scripting language. Once data is sent to the browser, PHP no longer has control. So, no, there is no way to "clear the screen." However, simply calling another PHP page will do what you are trying to accomplish.
I actualy am calling another PHP file with the "include ..." and was trying to clear the screen before any echo or print statements of the new PHP file are displayed.
So within a given script you are trying to clear output that has already been generated? If so, take a look at the output buffering routines in the manual. ob_clean() should do the trick.
http://www.php.net/manual/en/ref.outcontrol.php
The entire page is composed BEFORE it gets to the browser. The concept of clearing the screen does not make sense, because during the include it hasn't yet even been to the screen. Perhaps if you explain what your issue is, and what you are trying to accomplish, we can help you solve your problem.