开发者

In PHP,implementing a two dimensional array

开发者 https://www.devze.com 2023-01-10 01:33 出处:网络
For example I have a two dimensional array... a[0][1]=x a[0][2]=y a[0][3]=z ........................ a[1][1]=a

For example I have a two dimensional array...

a[0][1]=x
a[0][2]=y
a[0][3]=z
........................

a[1][1]=a
a[1][2]=b
a[1][3]=z
..........................

I want x,y data in blue colour

I want a,b data in green colour

I want 开发者_如何学Cz to data to be in voilet colour.....How will i do this in php

Can anyone explain this with an examplle

I have similar work,in a complex structure...This fundamental wil help me ..Can anyone guide


You probably want to generate HTML with differently colored text. Learn about <span> tags and CSS colors.

0

精彩评论

暂无评论...
验证码 换一张
取 消