Advertisement:

Author Topic: function to list rows based on conditions in plugin  (Read 1094 times)

xyz

  • Newbie
  • *
  • Posts: 11
function to list rows based on conditions in plugin
« on: September 22, 2013, 06:15:20 pm »
Hi Guys,

I am trying to create a new plugin in osclass. My problem is I need to Query the new table t_seller_items based on some conditions.

Just like

Select fk_i_item_id,v_seller_name,v_seller_url from t_seller_items where t_seller_items .fk_i_item_id = '123'. 

The where condition is passed as a parameter to the function and the o/p can print more than 1 row and this should be shown on item_detail page.

After implementing this I ll hook this to item_detail in osclass, so that it will show all these details of the seller.

Please help.





« Last Edit: September 23, 2013, 08:27:15 pm by xyz »