PHP html table output
I'm having trouble changing the output of the following:
echo "<td>" . $row['NetworkSettings'] . "</td>";
displays this: 00:0C:29:44:D8:A1|192.168.1.1|192.168.1.170,
but I want it to display this 192.168.1.170
any help w开发者_开发技巧ould be appreciated$arr = explode ("|" , $row['NetworkSettings'] );
echo $arr[2];
精彩评论