[FX.php List] displaying multiple search results - side by side and not in a long column

FHASELTINE at aol.com FHASELTINE at aol.com
Fri Jul 21 16:54:35 MDT 2006


Right now I have a table that displays multiple search results.
I have a table that displays them nicely but it looks like a single column.

It Prints the following
Name:   Person1
             Title1
Name:   Person2
             Title2
Name:   Person3
             Title3
Name:   Person4
             Title4

How do I get it to print out

Name: Person1                     Name:   Person2
            Title1                                    Title2
Name: Person3                     Name: Person4
            Title3                                   Title4


Below is the coding that gets me one column
---------------------------------------------------------
 <table >
<?php foreach($varResult['data'] as $key=>$varData){ ?>
<tr>
<td>Name:</td>
<th >
<?php echo ($varData['Person'][0])?></th>
</tr>
<tr>
<td></td>
<td><?php echo $varData['Title'][0]) ?></td>
</tr>
<?php } ?>
</table>
------------------------------------

Thanks, 
Florence   Haseltine
AIM: Fhaseltine
fhaseltine at aol.com
240-476-7837                                                                  
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060721/724456f6/attachment.html


More information about the FX.php_List mailing list