Suppose I do a select like this:
select company, location, acnum, bills from table
Just how do i output data using php so that the company and location remain at the top and every bill is printed and the acnum is displayed at the bottom. I'm using mysql_fetch_assoc and have gone mad trying. I can go tru every record but cant get one at the top and bottom.
I'm trying to get data out like this:
Company name here Location here
Bill
Bill
Bill
Bill
Acnum goes here.
P.S I'm new to PHP. I used to program in ASP before.