I am able to write to the text file, but for some reason, I am only able to get back 1 record/row from the table. I am trying to print the dataset to a text file. Records in data.table2, however I need the join I'm getting by usingįor what it's worth, I'm connecting to a DB2 database using PHP / I've thought about just creating a second database query for the & comments2 to be printed multiple times for each occurance in the How can I make it such that id, name,Īddress, city, state & zip are only printed once - and allow comments1 Is happening is that when I run this script, all of the data returnedįrom data.table1 is printed over & over again along with each record Returned from data.table2 (records from comments1 & comments2). Only one record is returned from data.table1 (containing the id, name,Īddress, city, state, & zip).
0 Comments
Leave a Reply. |