How can i select multiple values from DB..?
Posted: Mon Oct 05, 2009 5:12 am
This is my table which contain two column named router and routet_Desc.
-----------------------
router routet_Desc
r1 a
r1 b
r1 c
r1 d
Then i wanna select that all routet_Desc according to router name.How can i do that..?
If i select r1 result should be a,b,c,d.I wanna put those result to array.How can i do that..?
if $router=array();
i wanna get $router[0]=a ,$router[1]=b.......etc
Please help me to do this..
Thanking you alll
-----------------------
router routet_Desc
r1 a
r1 b
r1 c
r1 d
Then i wanna select that all routet_Desc according to router name.How can i do that..?
If i select r1 result should be a,b,c,d.I wanna put those result to array.How can i do that..?
if $router=array();
i wanna get $router[0]=a ,$router[1]=b.......etc
Please help me to do this..
Thanking you alll