How do I change the color of an echo message and center the message in the PHP I've written. The line I have is:
echo 'Request has been sent. Please wait for my reply!';
How about writing out some escape sequences?
echo "33[01;31m Request has been sent. Please wait for my reply! 33[0m";
Won't work through browser though, only from console ;))
2.1m questions
2.1m answers
60 comments
56.8k users