> Hi,
> 
> I think it will just hit the same wall (if there is only one (or n*3+1) topic).
> This may help a bit:
> 
> $i = 0;
> while ($list && $list->fetch() {
>       if ($i++  == 0) { echo "<tr>"; }
>       ?><td align="left" valign="top">
>       <a href="&(list.id);.html">&(topic.name);
>       </a></td><?php 
>       if ($i <= $x_in_a_row) { echo "</tr>"; $i = 0; }
> }
> if ($i > 0) {
>       for ($j=$i; $j <$x_in_a_row) { echo "<td> </td>"; }

for ($j=$i; $j <$x_in_a_row; $j++) { echo "<td> </td>"; }
                            ^^^^^
>       echo "</tr>";
> }
> 
> Well, the question remains, why $list->fetch() should leads to segfault and not
> just return null/0/or_any_thing_else?
> 
> Regards
> 
> Gunardi Wu
> 
> 

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to