|
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.
Last edited by Chuck S; August 18th, 2005 at 04:41 PM.
|