Hello,
I am having a hard time creating an array to accomplish the task of displaying my sql data in a multiple columns if there are more then one record for a specific search criterea.
The example of what I am trying to do is at http://www.mohawkweb.com/infocop/partners.php
That is a static web site. I am trying to make the data that is displayed pulled from my SQL database. That part is not a problem. The problem lies with the formatting of the text so that it displays as such:
Name
Address
Lyndhurst, NJ 07071
555-555-5555
Contact: John Doe
johndoe@jd.com
And then after that record is displayed it would move over to the right and display the next record, up to 3 columns on each row.
Some records may not have all information and it would have to be 'an if email exists then display it' command.
A few of the fields that I have are:
type - That is what determines where the records are displayed ex Northeast.
name
address
phone
etc.
I know that it would have to be an array.
Any help would be greatly appreciated.