Change color of output. PHP
问题 I created an script that returns interface status from cisco router/switch. Now, i want to change the color of my text based on the word Ex: connected=green notconnected=red Is this possible ? part of my script: $host = "hostname"; $name = "my.username\r"; $pass = "mypassword\r"; $form = <<<END <form method='post' action='' style='margin:auto; width:400px'> Adresa IP host : <input type='text' name='host'><br><br> <input type='submit' name='submit' value='Connect'> </form> END; echo '<img src=