QUOTE(nila @ 7 Feb, 2008 - 11:25 PM)

Hi,
I am doing a program like this in applet with mysql:
if anyone dial a number 121277737 from an extension for ex:5110,the id,status,inbound ,outbound for both these numbers are getting stored in database at the same time.like the following:
Extension Id status inbound outbound
5110 34574.11 up sip/9812 sip/9823
12127773 34574.12 Ring sip/9811 sip/9825
Now i have to retrieve all these datas and have to display like the following:
Extension dialed num
5110 12127773
How could i retrieve the number which is stored in Extension and display it as dialed number.Anybody assist me.
Thanks.
What type of Data Structure r u using to store ur data.. Is dat an ArrayList?I believe we can also use a Stringtokenizer to retrieve element by element.