the code i gave you will write more than that to the page, if it is not writing more than that, you have either not uploaded the page, or you have added it to the wrong page.
double check that you are adding the code to the correct page and that the upload to the server is working.