Jump to content

tpfp

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by tpfp

  1. is there a way to pasting a table in html code into a field on a form then submit it to a database and display the entry as a table.

    etc if i paste this into a field called info.

    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
      <tr>
        <td width="33%">name</td>
        <td width="33%">surname</td>
        <td width="34%">age</td>
      </tr>
      <tr>
        <td width="33%">billy</td>
        <td width="33%">gates</td>
        <td width="34%">54</td>
      </tr>
    </table>

    how would i then display it as a table instead of the code.
    this is how i currently display and convert text

        $info = nl2br(stripslashes($row['info']));

    sorry for the poor description of what i need to do
×
×
  • 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.