How get data from Market Plugin?


I need to get all data from the Market plugin on my dashboard.

What is the correct way for this?

I tried:


<php

foreach ($ options ['container_guids'] as $ container_guid) {

$ query = "SELECT * FROM` `WHERE elgg_entities container_guid =". $ container_guid. "subtype = 7 AND";

$result = get_data ($query);

foreach ($ result as $ key => $ product) {

    echo '<a href="http://www.mysite.com/market/view/'.$produtos->guid.'"><img width="11%" class="elgg-photo" height="11%" src="http://www.mysite.com/mod/market/thumbnail.php?marketguid='.$produtos->guid.'&size=medium&ut=1340660602"></a&gt;';





}

}
?>

tks

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking