473,396 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

creating a table with 250 rows

i have this table i need to create with 250 rows and 4 columns, is there a shortcut to achieving that and will not be cumbersome. please help!!!!
Jul 11 '08 #1
4 983
pbmods
5,821 Expert 4TB
Heya, moyolawal.

Expand|Select|Wrap|Line Numbers
  1. for( $i = 0; $i < 250; ++$i )
  2. {
  3.   echo '<tr>';
  4.  
  5.   for( $j = 0; $j < 4; ++$j )
  6.   {
  7.     echo '<td></td>';
  8.   }
  9.  
  10.   echo '</tr>';
  11. }
  12.  
Jul 11 '08 #2
hello, thank you so much for your input. i tried the codes but did not get any result. is there something i am missing out or maybe i am to do something but not doing.
thank you.
Jul 12 '08 #3
dlite922
1,584 Expert 1GB
hello, thank you so much for your input. i tried the codes but did not get any result. is there something i am missing out or maybe i am to do something but not doing.
thank you.
Did you put any text between the <td></td> tags?

Table is empty because you left it empty.
Jul 12 '08 #4
thank you so much. i have been on this for a while and really bad with tables.
i have the table created and i still have some hiccups. each cell is to have a value inputted by the user and then a sum of all the values in one column will be assigned to a variable. this will be done for all the columns. could u help with this pls.
thank you.
Jul 12 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: David Bradbury | last post by:
I currently have an iframe on a webpage into which users can insert content. They can further customise the text as I've included buttons such as Bold, Italic, Bullet point etc. This is done along...
5
by: sam | last post by:
Hi all, I am dynamically creating a table rows and inerting radio buttons which are also dynamically created. Everything works fine in Firefox as expected. But I am not able to select radio...
5
by: KewlToyZ | last post by:
Good day, I am stuck in a strange situation. SQL 2000 Server, creating a stored procedure to use in Crystal Reports 11. I am trying to build a report without creating a table or temprorary table in...
2
by: djpaul | last post by:
Hello, I have this program and when i want to load pictures it crashes at the form.showdialog()....??? Here it goes: Private Sub CmbPath_SelectedIndexChanged(ByVal sender As Object, ByVal e As...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.