ID: 12135
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Variables related
Operating System: win 98
PHP Version: 4.0.6
New Comment:

This is not a PHP bug, ask on the [EMAIL PROTECTED] mailinglist for support 
questions.

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-07-13 04:55:12] [EMAIL PROTECTED]

// code that produced the problem.
echo $tend //prints 60
echo $total_rec //prints 162
if ($total_rec<$tend)
$tend=$total_rec;

//when the above conditionis reached i have $total_rec=162
//and $tend=60 but this condition turns out to be true
//resulting in all the records being displayed on the 
// same page.the value of $total_rec is assigned to $tend

// fixed code (i am calling this fixing coz its working.)

if ($total_rec<=$tend-1)
echo $tend=$total_rec;

// this condtion works
God Help Me.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12135&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to