:-[ Hi, i'm a noob to php and have a sort of OSCommerce version of an ecommerce site. I want to be able to replace the current displayed stock level with a text description based on how much stock there is. I've spent hours here and on various other php sites trying to find the answer, and thought I had...however, regardless of the stock level it always displays the same result! Anyway, here is the CASE code I have worked out and I can't seem to see what is wrong with it...can anyone help please??? [code] <?php $txtQuantity = ""; switch (true){ case $product_info['products_price'] <= 0: $txtQuantity = "More In Soon"; break; case $product_info['products_price'] <= 10: $txtQuantity = "Last Few Remaining!"; break; case $product_info['products_price'] > 10: $txtQuantity = "Yes"; break; } ?> [/code] The result, as I guess most of your are aware, is always [color=red]"Last Few Remaining!"[/color] The line that follows is: [code]<td class="boxtext" align="center"><?php echo '' . (($product_info['products_price'] > 0) ? '' . TEXT_QUANTITYSTOCK . ' ' . $txtQuantity : ''); ?></td>[/code] but i've only put it here so you can see how I display it, i'm pretty sure it's got nothing to do with it not working ??? Please HELP!!! Thanks in advance, mAdMaCCa