Image

Imagetrunks_15 wrote in Imagephp 😡aggravated

Listens: Nick at Nite ;D

ok, i'm doing some programming for a website and all my scripts work fine, except this one. can sombody look it over for me? i would really appreciate it. thanks!




 <table width="100%" border="0" cellpadding="0"
cellspacing="0">
     <tr>
  <td
width="8" height="8"><IMG height=8 alt="" src="images/con_top_left.gif"
width=8  border=0></td>
  <td width="100%"
background="images/con_top.gif" height="8"></td>
  <td
width="8" height="8"></td>
 
</tr>
       <tr>
  <td
width="8" background="images/con_left.gif"
height="100%"></td>
  <td width="100%" 
height="100%">
                 
<P>   

                     

                 
<A href="#top">top</A></P>
 <table border="0"
cellpadding="0" cellspacing="0"
width="100%">
      <?php
$db = mysql_connect(localhost, [username], [password]);
mysql_select_db([db],$db);


$sql="SELECT * FROM meetings";
$result=mysql_query($sql,$db);


$num = mysql_num_rows($result);
$cur = 1;


while ($num >= $cur) {


$row = mysql_fetch_array($result);


$area = $row["area"];
$date = $row["date"];
$place =
$row["place"];
$address1 = $row["address1"];
$address2 =
$row["address2"];
$extra = $row["extra"];


 


?>
      <tr>
       <td
width="50%" align="left"
nowrap>
        <p
class="text"><?php echo "&nbsp;
$area</a>"?></p>
       </td>
      </tr>
            <tr>
       <td
width="50%" align="left"
nowrap>
        <p
class="text"><?php echo "&nbsp;
$date</a>"?></p>
       </td>
      </tr>
            <tr>
       <td
width="50%" align="left"
nowrap>
        <p
class="text"><?php echo "&nbsp;
$place</a>"?></p>
       </td>
      </tr>
            <tr>
       <td
width="50%" align="left"
nowrap>
        <p
class="text"><?php echo "&nbsp;
$address1</a>"?></p>
       </td>
      </tr>
            <tr>
       <td
width="50%" align="left"
nowrap>
        <p
class="text"><?php echo "&nbsp;
$address2</a>"?></p>
       </td>
      </tr>
            <tr>
       <td
width="50%" align="left"
nowrap>
        <p
class="text"><?php echo "&nbsp;
$extra</a>"?></p>
       </td>
      </tr>
      <?php


$cur++;
}


 


?>



  <td width="8" height="100%"></td>
 
</tr>
       <tr>
  <td
width="8" height="8"><IMG height=8 alt="" src="images/con_bot_left.gif"
width=8  border=0></td>
  <td width="100%"
height="8"></td>
  <td width="8"
height="8"></td>
  </tr>
  
</table><br><br>