Osclass forums

Support forums => Plugins => Topic started by: xyz on September 22, 2013, 06:15:20 pm

Title: function to list rows based on conditions in plugin
Post by: xyz 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.