Jump to content

echoing Tables.


seany123

Recommended Posts

I just a little bit of help on how to echo this table.

 

<?php
if ($player->rm <= 0)
echo;
<table width="650" border="1" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
  <tr>
    <td align="center" class="style5"><strong>Upgrade</strong></td>
  </tr>
</table>
<table width="650" border="0">
  <tr>
    <td width="614"><table width="646" border="1">
      <tr>
        <td colspan="3" class="style5"><div align="center">You are not a Respected Mobster!!! </div></td>
        </tr>
      <tr>
        <td colspan="3" class="style5"><div align="center">
          <p>By not being a respected mobster you are missing out on tons of advantages and losing out on the competition!<br>
            these are just a few advantages you will receive when becoming a Respected member:</p>
          <p align="center">$100,000.<br>
            150 Points.<br>
              Doubled bank interest.<br>
              X2 Energy, Nerve and Awake refill speed.<br>
              Fastest Support.<br>
              Access to ALL new updates.              </p>
          <p align="center"><br>
          </p>
        </div></td>
        </tr>
      
    </table>
      <div align="center" class="style5">
        <div align="center">For all these update it only costs $3 Per month (The payment is a one off payment. non-subscription)<br>
          <br>
          UPGRADE<br>
        </div>
        <div align="left"><br>
          </div>
      </div>
      </td>
  </tr>
</table>
}
?>

 

 

Link to comment
https://forums.phpfreaks.com/topic/127287-echoing-tables/
Share on other sites

<?php
if ($player->rm <= 0) {
?>
<table width="650" border="1" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
  <tr>
    <td align="center" class="style5"><strong>Upgrade</strong></td>
  </tr>
</table>
<table width="650" border="0">
  <tr>
    <td width="614"><table width="646" border="1">
      <tr>
        <td colspan="3" class="style5"><div align="center">You are not a Respected Mobster!!! </div></td>
        </tr>
      <tr>
        <td colspan="3" class="style5"><div align="center">
          <p>By not being a respected mobster you are missing out on tons of advantages and losing out on the competition!<br>
            these are just a few advantages you will receive when becoming a Respected member:</p>
          <p align="center">$100,000.<br>
            150 Points.<br>
              Doubled bank interest.<br>
              X2 Energy, Nerve and Awake refill speed.<br>
              Fastest Support.<br>
              Access to ALL new updates.              </p>
          <p align="center"><br>
          </p>
        </div></td>
        </tr>
      
    </table>
      <div align="center" class="style5">
        <div align="center">For all these update it only costs $3 Per month (The payment is a one off payment. non-subscription)<br>
          <br>
          UPGRADE<br>
        </div>
        <div align="left"><br>
          </div>
      </div>
      </td>
  </tr>
</table>
<?php
}
?>

No need for the echo as anything outside of the PHP gets written anyway.

Link to comment
https://forums.phpfreaks.com/topic/127287-echoing-tables/#findComment-658285
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.