My topics


  • %username% September 10, 2014 04:44 #
    continue question: or do you mean
    in the subdir classes i create a shopSQL.class.php
    <?php

    class shopSQL
    {

    public function getProductCotag($product_id)
    {
    $gevond=array();
    if (!$product_id) {
    return array();
    }

    $sql = "SELECT *,price/10+category_id/10+total_sales/100 rating FROM shop_product where id IN (
    SELECT product_id FROM shop_product_tags
    WHERE tag_id IN (
    SELECT tag_id FROM shop_product_tags
    WHERE product_id IN (i:id) )
    ) and price >0 order by rating desc";
    $gevond= $this->query($sql, $product_id)->fetchAll(null, true);
    print_r($gevond);
    return $gevond;
    }


    }

    in reply to Adding a TAG related comarketing search function ?

  • %username% September 10, 2013 06:44 #
    I will try to find which part of the framework handles the sample form that is supplied.

    in reply to Forms in the Site applications

  • %username% September 10, 2013 06:40 #
    wow, that's way to complicated for something that basic.

    in reply to Forms in the Site applications