Padgoi Posted October 16, 2008 Share Posted October 16, 2008 I have this line: $post = 'This post has been deleted by:'. $usr; How do I add an echo or something to make that text red? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/128733-solved-quick-echo-question/ Share on other sites More sharing options...
andrewgarn Posted October 16, 2008 Share Posted October 16, 2008 I have this line: $post = 'This post has been deleted by:'. $usr; How do I add an echo or something to make that text red? Thanks in advance. Try this? $post = '<span style="color:#FF0000">This post has been deleted by:'. $usr.'</span>'; Link to comment https://forums.phpfreaks.com/topic/128733-solved-quick-echo-question/#findComment-667184 Share on other sites More sharing options...
.josh Posted October 16, 2008 Share Posted October 16, 2008 you would do it with html or css. Link to comment https://forums.phpfreaks.com/topic/128733-solved-quick-echo-question/#findComment-667186 Share on other sites More sharing options...
Padgoi Posted October 16, 2008 Author Share Posted October 16, 2008 Thanks andrew. Crayon, your response wouldn't have helped at all if it hadn't been preceded by someone actually willing to help. Link to comment https://forums.phpfreaks.com/topic/128733-solved-quick-echo-question/#findComment-667188 Share on other sites More sharing options...
.josh Posted October 16, 2008 Share Posted October 16, 2008 Would you have preferred I moved your thread to the html help section and given you a warning? I think pointing someone in the right direction is very helpful. To each his own, I guess. Link to comment https://forums.phpfreaks.com/topic/128733-solved-quick-echo-question/#findComment-667194 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.