table loop problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello

i want to write this same table through a loop where i have written loop
start here and ends here (see below)
the loop will get result from the database image in one <td> and its
name in second <td> but its not coming like that can anyone tell me
how to write the loop

thanks

<table align=center cellspacing=4 cellpadding=4 width="485"><tr><td><center>
 <table cellSpacing="0" align="center" border="1" bordercolor="fae0f4">
   <tr>
     <td>
     <table cellSpacing="0" align="center" >
       <tr>
         <td>
         <div align="center">
           <center>
         <table cellSpacing="0" cellPadding="0" border="1"
height="68" width="285" style="border-collapse: collapse"
bordercolor="#111111">
           <tr>
             <td vAlign="center" align="left" bgColor="#ea72cf"
colSpan="4" height="20" width="285">
             <b>
             <font face="Arial" color="white">&nbsp;C a r d </font></b></td>
           </tr>
           <tr>
             <td vAlign="center" colSpan="4" height="3" width="285"></td>
           </tr>
           <tr>
--loop starts here

<td vAlign=center align=center height="64" width="65">&nbsp;image<td
vAlign=center align=center height="64" width="74">&nbsp;image<td
vAlign=center align=center height="64"
width="81">&nbsp;image&nbsp;&nbsp;&nbsp;

                                       <td vAlign=center align=center
height="64"
width="65">&nbsp;image&nbsp;&nbsp;
           <tr>

                                       <td vAlign=center align=center
height="3" width="65">

                                       <td vAlign=center align=center
height="3" width="74">

                                       <td vAlign=center align=center
height="3" width="81">

                                       <td vAlign=center align=center
height="3" width="65">
           <tr>

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF"
width="65">title 1

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF" width="74">
                   <font face="Arial" color="#FFFFFF">title 2</font>

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF" width="81">
                   <font face="Arial" color="#FFFFFF">title 3</font>

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF" width="65">
                   <font face="Arial" color="#FFFFFF">title 4</font>
<tr>
                                       <td vAlign=center height="3" width="65">

                                       <td vAlign=center height="3" width="74">

                                       <td vAlign=center height="3" width="81">

                                       <td vAlign=center height="3" width="65">
<tr>
                                       <td vAlign=center align=center
height="68" width="65">&nbsp;
                   image<td vAlign=center align=center height="68"
width="74">&nbsp;image<td vAlign=center align=center height="68"
width="81">&nbsp;image<td vAlign=center align=center height="68"
width="65">
                     <p align="center">&nbsp;image<tr>
                                       <td vAlign=center align=center
height="3" width="65">

                                       <td vAlign=center align=center
height="3" width="74">

                                       <td vAlign=center align=center
height="3" width="81">

                                       <td vAlign=center align=center
height="3" width="65">
<tr>
                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF" width="65">
                   <font face="Arial" color="#FFFFFF">title 5</font>

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF" width="74">
                   <font face="Arial" color="#FFFFFF">title 6</font>

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF"
width="81"><font face="Arial" color="#FFFFFF">
                   title&nbsp;7</font>

                                       <td vAlign=center align=center
height="18" bgcolor="#EA72CF"
width="65"><font face="Arial" color="#FFFFFF">
                   title&nbsp;8</font>

--end here

         </table>
           </center>
         </div>
         </td>
       </tr>
     </table>
     </td>
   </tr>
 </table>
 </center></tr></table>
       </div>
     </center>


PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux