HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
How to display a table in phpbb2 .
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
rekhaj



Joined: 08 Apr 2008
Posts: 3

PostPosted: Tue Apr 08, 2008 10:18 pm     How to display a table in phpbb2 . Reply with quote

Actually i implemented this code
<html>
<body><table border=" 1" class="postbody"><tr><th>Common Car Problems</th><th>Relative Frequency</th></tr><tr><td>transmission Problems</td><td>8</td></tr><tr><td>suspension problems</td><td>7</td></tr><tr><td>engine problems</td><td>6</td></tr><tr><td>AC /heater Problems</td><td>5</td></tr><tr><td>seat belts / air bags problems</td><td>4</td> </tr><tr><td>cooling system Problems</td><td>2</td></tr><tr><td>fuel delivery system problems</td><td>2</td></tr><tr><td>brakes problems</td><td>1</td></tr><tr><td>electrical problems</td><td>1</td></tr><tr><td>steering problems</td><td>1</td></tr><tr><td>wheels / hubs problems</td> <td>1</td> </tr> </table><BR><table border="1" class="postbody"><tr><th>Common Transmission Problems </th></tr><tr><td>transmission slipping</td></tr><tr><td>transmission failure </td></tr><tr><td>leaking fluid </td></tr><tr><td>shifting problems</td> </tr><tr><td>shifting - jerks in park or reverse</td></tr><tr><td>shift cable broke </td></tr><tr><td>won't shift past 1st gear, speedometer not working</td></tr></table></body></html>

But this dispaly as it is in the forum.i want to display it in table format.
Give me the answer for this ASAP
Thank u in advance
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8313
Location: Castle Pines North, CO USA

PostPosted: Wed Apr 09, 2008 11:11 am     Reply with quote



Is this in a post or just somewhere (all the time) in the forum? If so, you will need to locate the file - for example, you might see header.php in there somewhere and then placing that code in there might help it to show up on the forum.

Always make a copy of the file before making any changes.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Wed Apr 09, 2008 12:12 pm     Reply with quote

What version of phpBB are you using? Version 3.0.1 allows you to edit the PHP files live in the control panel in the styles/editing section.

If the edit messes up the page then there is a "reset" button to take the page back to the original layout.
rekhaj



Joined: 08 Apr 2008
Posts: 3

PostPosted: Wed Apr 09, 2008 8:36 pm     Reply with quote

This is the post. Crying or Very sad I try to post the article in the forum in table format. but the table format is not displaying instead , the code displays
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8313
Location: Castle Pines North, CO USA

PostPosted: Thu Apr 10, 2008 11:26 am     Reply with quote

Does you forum allow HTML code? Most only allow BB Code for security reasons.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
rekhaj



Joined: 08 Apr 2008
Posts: 3

PostPosted: Thu Apr 10, 2008 9:45 pm     Reply with quote

I posted Html code in test machine ,it works fine, while i kept that in live ,its not working.
I want to post an article in table format, is there any alternative for this
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Fri Apr 11, 2008 3:29 am     Reply with quote

I run a couple of forums and other than parsing email addresses and URLs (which is done automatically in most newer forums), unless there is an approved BBCode to create a table in your posting, you are out of luck unless you can convince the administrator of the forum to add the required BBcodes to the forum.

BBcode tokens are "safe" replacements for HTML tags. Within a posting, the forum software ignors HTML tags and only responds to BBCode tokens. Thats why your HTML code for the table shows up as it does - as HTML code.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial