View Single Post
Old August 18th, 2005, 04:36 PM   #6 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
yeah well for 2.91 it looks okay but that was my suggestion

46.23 is a numeric variable so it would pass that query

try this

<?

$var="46.23";

if ( is_numeric($var) ) $var = "yes";

echo "$var";

?>


if you run that test script you will see 46.23 is a numeric value. $ is stripped from price a few lines above.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 18th, 2005 at 04:41 PM.
Chuck S is online now   Reply With Quote