1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

TABLE inside POSTS

Discussion in 'Site Announcements and Feedback' started by Sadik, Nov 4, 2008.

  1. Sadik

    Sadik Community Moderator Forum Guru

    Messages:
    1,906
    Likes Received:
    252
    Trophy Points:
    1,455
    A new functionality has been added to the Editor in the website. That of a TABLE inside your posts. Now you can use the [ TABLE ][ /TABLE ](without the spaces) to display a table in your posts.

    for example the code (without spaces in table tag)

    Code (Text):

    [ table ]head col1|head col2|head col3
    row1 col1|row1 col2|row1 col3
    row2 col1|row2 col2|row2 col3[ /table ]
     
    will output the following:

    [table]head col1|head col2|head col3
    row1 col1|row1 col2|row1 col3
    row2 col1|row2 col2|row2 col3[/table]

    Hope this is useful.
     
  2. tyro

    tyro Forum Genius

    Messages:
    368
    Likes Received:
    20
    Trophy Points:
    260
    Location:
    India
    Good feature, was thinking about tables in one of my posts and didn't find them available then.
     
  3. rajavu

    rajavu Forum Guru

    Messages:
    815
    Likes Received:
    52
    Trophy Points:
    610
    Location:
    @ Bangalore , India
    Good. .. What if I need NULL as value of one column ?
     
  4. simply_dba

    simply_dba Forum Advisor

    Messages:
    95
    Likes Received:
    5
    Trophy Points:
    140
    Location:
    Kolkata, India
    for that keep a space between two pipes.
    For example
    Code (Text):
    [ table ]head col1|head col2|head col3
    row1 col1| |row1 col3 |
    [/table]
    will produce
    [table]head col1|head col2|head col3
    row1 col1| |row1 col3 |
    [/table]
     
  5. Sadik

    Sadik Community Moderator Forum Guru

    Messages:
    1,906
    Likes Received:
    252
    Trophy Points:
    1,455
    absolutely brilliant! ;)
     
  6. rajavu

    rajavu Forum Guru

    Messages:
    815
    Likes Received:
    52
    Trophy Points:
    610
    Location:
    @ Bangalore , India
    Hmhmhm :)

    This is against the DBMS Rule :
    NULL is not equal to Space :)
     
  7. simply_dba

    simply_dba Forum Advisor

    Messages:
    95
    Likes Received:
    5
    Trophy Points:
    140
    Location:
    Kolkata, India
    Well ! then keep a NULL between two pipes, if you can
    :D
     
  8. Arju

    Arju Forum Expert

    Messages:
    107
    Likes Received:
    5
    Trophy Points:
    240
    Location:
    Bangladesh
    Good feature!