how to make table in php?help?

  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

guys...how to make table in php....please.. post your codes...
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

You're going to have to be far more specific with your question. SQL table? HTML table?
  • ndeb
  • Newbie
  • Newbie
  • ndeb
  • Posts: 8

Post 3+ Months Ago

I assume that you want to have php display a table to visitors. If my assumption is right, try this:
Code: [ Select ]
<?php
echo "<table width='600' cellpadding='5' cellspacing='5' border='1'>";
//depending on your own parameters of course, but the values must be in single quotes
echo "<tr><td>You can write something here</td><td>You can have another column</td></tr>";
//you can do this for as many rows as you like
echo "</table>";
//this ends your table
?>
  1. <?php
  2. echo "<table width='600' cellpadding='5' cellspacing='5' border='1'>";
  3. //depending on your own parameters of course, but the values must be in single quotes
  4. echo "<tr><td>You can write something here</td><td>You can have another column</td></tr>";
  5. //you can do this for as many rows as you like
  6. echo "</table>";
  7. //this ends your table
  8. ?>

I hope it answers your question. If this is not what you are looking for, then please clarify your question.
  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

8) yes SQL table..

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 72 guests
  • 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 post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.