[eluser]Bob Puzld[/eluser]
Hi, I am reposting this because I still have no answers. I am new to codeigniter and am trying to help a friend figure out his web site. His site was originally built with Codeigniter version 1.3. The server was recently upgraded from PHP Version 4.32 to 5.2.6, and MySql from version 3.23 to 5.0.67. Now one of his pages does not display the proper results. The table in the database has many recent entries of people requesting payment, but the page displays… No pending payouts. The code from this page is below. Additional info to follow. Any help would be appreciated. Thanks.
<h1>Payments Requested (<?=$payouts->num_rows()?>
</h1>
<? if($payouts->num_rows() != 0): ?>
<?=form_open(‘users/payment_requests_process’)?>
<table id=“report” cellspacing=“0”>
<tr><th>Account Number</th><th>Name</th><th>Address</th><th>Balance</th><th>Amount Requested</th></tr>
<? $i = 1;
foreach($payouts->result() as $row): ?>
<tr <?= alternator(’‘,’ class=“altrow”’) ?>>
<td><?=$row->id?><input type=“hidden” name=“payout<?=$i?>” value=”<?=$row->payout_id?>” ></td>
<td><?=$row->fname.’ ‘.$row->lname?></td>
<td><?= $row->address.’
‘.$row->city.’, ‘.$row->state.’ ‘.$row->zip?></td>
<td><?=$row->balance?></td>
<td><?=$row->amount?></td>
</tr>
<? ++$i;
endforeach; ?>
</table>
<input type=“hidden” name=“num_payouts” value=”<?= $payouts->num_rows() ?>” >
<input type=“submit” value=“Pay Requests” /></p>
<?=form_close()?>
<? else: ?>
No pending payouts.
<? endif; ?>