Guest User

Untitled

a guest
Jan 24th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.99 KB | None | 0 0
  1. Sql Object
  2. (
  3.     [rows] => 1
  4.     [error] =>
  5.     [data] => Array
  6.         (
  7.             [0] => Object Object
  8.                 (
  9.                     [___param:protected] => Array
  10.                         (
  11.                             [cnt] => 47593
  12.                         )
  13.  
  14.                 )
  15.  
  16.         )
  17.  
  18.     [query] =>
  19.                         SELECT
  20.                             count(product.id) as cnt
  21.                         FROM
  22.                             product_category,
  23.                             l_product_category as pc,
  24.                             l_product_brand as pb,
  25.                             product_brand,
  26.                             product USE INDEX(publish, category, brand, PRIMARY)
  27.                            
  28.                         WHERE
  29.                             pc.category = product_category.id AND
  30.                             pc.product = product.id AND
  31.                             pb.version = product_brand.id AND
  32.                             pb.product = product.id AND
  33.                             pb.version = "10" AND
  34.                             pc.category = product.category AND
  35.                             product.inactive = "0" AND
  36.                             product.publish <= NOW()
  37.                            
  38.                        
  39.            
  40.     [time] => 1.5718
  41. )
  42.  
  43. Autentificare | Inregistrare
  44. COS DE CUMPARATURI ( 0 produse in cos)
Add Comment
Please, Sign In to add comment