I am new to php so, I have made a php code which is explained below
echo("1");
// a code that erase the previous output
echo("2);
Output should be:- First 1 should be printed then 1 should be erased then 2 should be printed.
If this can be possible the please help.
I tried this but didn't work,
flush();
I also searched in Google, YouTube, stackoverflow but didn't work. Output should be only like this:- First 1 should be printed then 1 should be erased then 2 should be printed.