Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 08-27-2014, 07:40 AM
stephen001 stephen001 is offline
Contributing Member
 
Join Date: 04-25-13
Posts: 89
iTrader: 0 / 0%
How do I create a table with columns inside PHP code

How do I create a table with columns inside PHP code
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 09-01-2014, 04:21 PM
Frankie GTH Frankie GTH is offline
Junior Member
 
Join Date: 03-14-13
Posts: 18
iTrader: 0 / 0%
That can be as simple as this:

PHP Code:
<?php

echo '
    <table>
        <tr>
            <td>Header 1</td>
            <td>Header 2</td>
        </tr>
        <tr>
            <td>Content 1</td>
            <td>Content 2</td>
        </tr>
    </table>
'

?>
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Assign Fixed Width to my Table columns stephen001 Coding Forum 3 10-15-2014 11:51 AM
PHP and Table Columns Leon Coding Forum 7 03-03-2009 11:01 AM
creating a <div> table of 2 columns. basslion Web Design Lobby 0 04-30-2008 04:14 AM
Big table with first columns fixed gcorro Coding Forum 2 11-07-2007 08:02 AM
Center Table/Text in 2 Columns kwvarga Web Design Lobby 4 08-16-2006 09:13 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:46 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC