numeric string problem

From: Date: Tue, 12 Feb 2002 21:38:28 +0000
Subject: numeric string problem
Groups: php.db 
Request: Send a blank email to php-db+get-16870@lists.php.net to get a copy of this message
Hi, I am using VARCHAR for price column : 600,000 700,000 etc when I use : PRICERANGE<='$Price' it works fine except when the $Price moves to 7 digit as 1,000,000 in other words the" less than " does not work when comparing 6 digit and 7 digit figures I am not sure how to compensate for this. Thanks Mike

« previous php.db (#16870) next »