views:

153

answers:

0

I am having my table like this (2 tables)

UserId Name
2 Welcome
3 Rename

Password Data
2dfdf dfd
3 dfdf

I need the data while exported to csv like this...

UserId, Name 2,Welcome 3, Rename, password, Data 2dfdf ,dfd 3 ,dfdf

But it is displaying like this

UserId, name, Password, Data 1, Welcome, 2dfdf ,dfd 3, Rename,3,dfdf

How can I get the actual result