Hello,
I want to do in file shopping_cart a test to do a pre-order of a product.
the product with "PRECOM" exists but my test don't works.
maybe an error in my request.
I don't find :
$prod = mysql_query("SELECT products_model FROM products WHERE products_id = '" . $HTTP_GET_VARS['products_id'] ."'");
$prod_mod=mysql_fetch_array($prod);
$nom_model=$prod_mod['products_model'];
if (ereg("PRECOM",$prod_mod['products_model'])) {
//echo '$prod_mod['products_model']';
echo 'reservation';
}
echo 'commande';





LinkBack URL
About LinkBacks






Bookmarks