#12135 [Com]: i faced probelms in simple if conditions

From: Date: Tue, 20 Jul 2004 15:10:31 +0000
Subject: #12135 [Com]: i faced probelms in simple if conditions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63139@lists.php.net to get a copy of this message
ID: 12135 Comment by: picture-upskirt359 at hotmail dot com Reported By: haseebi at hotmail dot com Status: Bogus Bug Type: Variables related Operating System: win 98 PHP Version: 4.0.6 New Comment: <a href=http://ddirtyjerk-stream-l.da.ru>upskirt picture</a> Previous Comments: ------------------------------------------------------------------------ [2001-07-13 04:57:52] derick@php.net This is not a PHP bug, ask on the php-general@lists.php.net mailinglist for support questions. Derick ------------------------------------------------------------------------ [2001-07-13 04:55:12] haseebi at hotmail dot com // 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

« previous php.bugs (#63139) next »