how to style echo in php

Solutions on MaxInterview for how to style echo in php by the best coders in the world

showing results for - "how to style echo in php"
Noah
22 Aug 2018
1You can style it by the following way:
2
3echo "<p style='color:red;'>" . $ip['cityName'] . "</p>";
4echo "<p style='color:red;'>" . $ip['countryName'] . "</p>";