I am aware that there is no clear screen function in PHP (please correct me if I'm wrong). So, my question is this, how can I create a code that will print out a number, and then change that number every certain number of seconds, and reprint the new number to the screen? Is this possible? Thanks!
PHP is running server side, you want to change something on the client side. You can't do it directly with PHP. Only Javascript is the way, and you got 2 options: 1. if it's just simple number changing (same way google are increasing the gmail space on www.gmail.com) 2. if you need the number to be from some PHP calculation you should look into AJAX which is methods to use JS to read information from another web page (PHP) and do things accordingly on the user page. There are many AJAX ilbraries, perhaps you should look into Prototype (http://www.prototypejs.org/learn/introduction-to-ajax)