deadlyscorpian 0 Newbie Poster

Hi all,

I want to make one php based application where in at place I need to fix one thing through JavaScript.

Let me explain my problem:

I have one MySQL data base where we have Employee full name & Date of birth, Date of Joining, Employee Code.

On the page where I have to insert this I have one select box names person (Ram Verma, Vivek Sighn, John Collen, Rita Joba) which have value and I pull through MySQL. Now i want that when user will select Ram as value from select box then person 1 Date of birth will appear only one time in a row, second row Date of Joining will appear.
And if we will select John from select box then it will appear John Date of birth & Date of Joining like this :
if we will not select any value by default is 0.then it will not show any row regarding person.

For example:-
on selection display would come like this

Selection box of names --- John Collen

Date of Birth --- 08/11/1987

Date of Joining --- 05/11/2008

Employee --- 00082

Please help me to solve this problem. How it can be.

Thanks
gagan