Created
April 15, 2011 02:03
-
-
Save JeffreyWay/920995 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'Envato_marketplaces.php'; | |
$Envato = new Envato_marketplaces(); | |
$c = $Envato->collection(877517); // replace with collection id (see url on collection page) | |
foreach($c as $item) : ?> | |
<li> | |
<a href="<?php echo $item->url . '?ref=yourUsername';?>"> | |
<?php echo $item->item; ?> | |
</a> | |
</li> | |
<?php endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment