Naziem Posted January 25, 2015 Share Posted January 25, 2015 Hi I am running on Linux scripts with PHP and need help with separating my output on html screen to have different sections. This is my php info below echo "<td bgcolor=\"#00B400\"><a href="$f3"><font size="2">$f1</font></td>" >> $PINGVAIL else echo "<td bgcolor=\"#C80000\"><a href="$f3"><font size="2">$f1</font></td>" >> $PINGVAIL fi if [[ $TRAILER = "Y" ]];then echo "<tr>" >> $PINGVAIL TRAILER="N" fi done echo "<tr>" >> $PINGVAIL Below I want to have section for monitoring on Production , Development, QA system, Below is all juggle together Please note $f3 is coming from output file which is below info XIP_1 XIP_2 POP_1 POP_2 BWP_1 BWP_2 FSP_1 FSP_2 FSP_3 FSP_4 FCP_1 FCP_2 C7P_1 C7P_2 BPP_1 BPP_2 CRP_1 CRP_2 WEB_2 BWD_1 CB_Sandbox HSD RD1 BD1 ZWI ZSI ZLI TDR GRU GRD GRP RQ1 CRD BWI C7I SLI Quote Link to comment Share on other sites More sharing options...
boompa Posted January 25, 2015 Share Posted January 25, 2015 That sure looks like bash script to me, not PHP. Quote Link to comment Share on other sites More sharing options...
ginerjm Posted January 25, 2015 Share Posted January 25, 2015 It doesn't look like anything to me. Ancient deprecated html code too. Probably copied from somewhere. Oh, well.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.