Closed Thread Icon

Topic awaiting preservation: display results into tables (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=25243" title="Pages that link to Topic awaiting preservation: display results into tables (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: display results into tables <span class="small">(Page 1 of 1)</span>\

 
rayzun
Obsessive-Compulsive (I) Inmate

From:
Insane since: Feb 2005

posted posted 03-12-2005 22:55

Ive read somewhere about this result, but I cannot find it again.

My script queries a data file, and displays one after the other until all results are shown. The results can be veried up to many hundreds showing.

How to divide the results into seperate <td> 4 rows evenly as possible?

My script so far:

<?php
list($first) = explode('/', substr($PATH_INFO,1));
$num_results=1000;
$lines = file('/AAACars.data');
$num=count($lines);
$count=0;
foreach ($lines as $line) {
$parts = explode('|', $line);
if ($partsnumber2 == $first) {
$count++;
if($count<=$num_results)

echo "<a href=\"/rars.$parts[0].html/$parts[0]/$partsnumber2\">$partsnt</a>";

}}
?>

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 03-12-2005 23:48

The only way to give a detatiled answer is to see an example of exactly what the setup of the table will need to be.

The length of the table (ie, the number of rows) is irrelevant.

We need to see what kind of data is being dealt with, and how you wish to see it displayed.

quote:
How to divide the results into seperate <td> 4 rows evenly as possible?



I don't understand what you're saying by this (thus the recommended example, above).

Of course, before making this into a table, it must first be determined if a table is the appropriate way to display the data (again, requires clarification and details).

« BackwardsOnwards »

Show Forum Drop Down Menu