MySQL Forums
Forum List  »  PHP

Re: How do I make all columns line up in the same row?
Posted by: Dane Iracleous
Date: March 13, 2006 09:20PM

Alright, thanks. But how do I specify the columns I want from each table. Like for customer I want:

$nextline = $row[0] . ',' . $row[1] . ',' . $row[2] . ',' . $row[3] . ',' . $row[4] . ',' . $row[5] . ',' . $row[6] . ',' . $row[7] . ',' . $row[8] . ',' . $row[9] . ',' . $row[10] . "\r\n";

for orders I want:

$nextline = $row[0] . ',' . $row[1] . ',' . $row[1] . ',' . $row[3] . ',' . $row[4] . ',' . $row[7] . ',' . $row[8] . ',' . $row[9] . ',' . $row[10] . ',' . $row[11] . "\r\n";

for item I want:

$nextline = $row[1] . ',' . $row[2] . ',' . $row[3] . ',' . $row[4] . "\r\n";

Options: ReplyQuote


Subject
Written By
Posted
Re: How do I make all columns line up in the same row?
March 13, 2006 09:20PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.