Hello,
How do you display distinct fields when a query returns an array ??
This is the current output of my query:
PF0001 WB1 D1-drd-N1
PF0001 WB1 D1-drd-N2
PF0001 WB1 D1-drd-N3
and I want it to display like this:
PF0001 WB1 D1-drd-N1
D1-drd-N2
D1-drd-N3
this is the result of 1 query..so i display it using mysql_fetch_arr ay
but i dont know how to display it the way i want it..the redundant first two fields should display only once.
Anybody who could help me??
How do you display distinct fields when a query returns an array ??
This is the current output of my query:
PF0001 WB1 D1-drd-N1
PF0001 WB1 D1-drd-N2
PF0001 WB1 D1-drd-N3
and I want it to display like this:
PF0001 WB1 D1-drd-N1
D1-drd-N2
D1-drd-N3
this is the result of 1 query..so i display it using mysql_fetch_arr ay
but i dont know how to display it the way i want it..the redundant first two fields should display only once.
Anybody who could help me??
Comment