Jump to content

Recommended Posts

The problem is it's not doing 3column's each row.. :(

 

$max_cols = 3;
$col_num = 0;
$this->output .= '<table width=100%></tr><tr valign=top>'; // THERE IS NO OPENING TABLE TAG, SO ADDING THIS SHOULD FIX THAT
        while( $r = $DB->fetch_row() ) {
	$col_num++;
$this->output .= $this->do_html_row($sess)
if ($col_num == $max_cols) {
        $this->output .= '25</tr><tr>';
        $col_num = 0;
        }
$this->output .= '</table>'; // THERE IS NO CLOSING TAG, ADDING THIS SHOULD FIX THAT.
}

 

AND

$this->output .= $this->do_html_row($sess)

is a function called "do_html_row" and it spits out

return $this->html->show_row($sess);

 

 

 

which my HTML FOR Show_row is:

 

<td><fieldset><legend>{$session['member_name']}</div></a></span></legend>
<table class="ftbt">
<tr><th>Last Click: {$session['running_time']}</th></tr>
<tr><td class="desc bc1">
{$session['cun1']}
{$session['jesus2']}
{$session['jesus3']}
{$session['msg_icon']}
{$session['jesuscash']}
{$session['jesus1']}
<img src="images!!/p.gif" width="140" height="0">

</td>
</tr></table><div class="foot desc">{$session['where_line']}</div>

Link to comment
https://forums.phpfreaks.com/topic/169893-urgent-quick-php-help/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.