Jump to content

What's Wrong with this SELECT


rseigel

Recommended Posts

SELECT * FROM ps_product WHERE ps_product.active = '1' AND ps_product.ean13 = '' AND ps_product.id_category_default != '73'

Works perfectly in phpMyAdmin yet when I put it in a QUERY

$result = mysqli_query($con,'SELECT * FROM ps_product WHERE ps_product.active = '1' AND ps_product.ean13 = '' AND ps_product.id_category_default != '73'')
    or die(mysqli_error());

it fails.  :confused:

 

Thanks,

 

Ron

Link to comment
https://forums.phpfreaks.com/topic/297577-whats-wrong-with-this-select/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.