Clearing echo'd text... help please total newb
Posted: Tue Jul 28, 2009 3:46 pm
removing "echo"'d text?
I want to create a single PHP file that in reality looks like multiple pages ( I suppose this is a good way to say it )
For example I have a page that has
echo "Please wait while this page loads";
then I want to clear away that presented text on the next specified command, for example
some sort of code here that clears away the [echo "Please wait while this page loads";];
echo "Page loaded";
code that waits two seconds;
some sort of code here that clears away the [echo "Page loaded";];
The rest of the websites code here....
I cant seem to find any way to clear this sort of thing, or make it look like a new page(I don't care if I have to esentially create a new page each time I just want it all in one php file).. How on earth is this done?
I want to create a single PHP file that in reality looks like multiple pages ( I suppose this is a good way to say it )
For example I have a page that has
echo "Please wait while this page loads";
then I want to clear away that presented text on the next specified command, for example
some sort of code here that clears away the [echo "Please wait while this page loads";];
echo "Page loaded";
code that waits two seconds;
some sort of code here that clears away the [echo "Page loaded";];
The rest of the websites code here....
I cant seem to find any way to clear this sort of thing, or make it look like a new page(I don't care if I have to esentially create a new page each time I just want it all in one php file).. How on earth is this done?