Answers for "how to style an echo variable in php"

PHP
0

how to style echo in php

You can style it by the following way:

echo "<p style='color:red;'>" . $ip['cityName'] . "</p>";
echo "<p style='color:red;'>" . $ip['countryName'] . "</p>";
Posted by: Guest on March-17-2021
1

php echo html and variable

echo '<img src="' . $Variable . '">';
Posted by: Guest on March-01-2021

Code answers related to "how to style an echo variable in php"

Browse Popular Code Answers by Language