After I click the submit button, I need to print two different statements. For ex :
echo "Hello user";
and
echo "Nice to meet you !";
But after printing the first statement, I want to give it a few seconds of time before it prints the next statement. Is there any predefined function to get such result ? If not, how can we get a pause between them ?