From abb2d3c67ddc132c4cc7ea435e13731527c32634 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 15:49:20 +0000 Subject: Series: Worked on ACP Refs #53 --- series/trunk/includes/instadisc.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'series/trunk/includes/instadisc.php') diff --git a/series/trunk/includes/instadisc.php b/series/trunk/includes/instadisc.php index a5afb3a..54f427a 100644 --- a/series/trunk/includes/instadisc.php +++ b/series/trunk/includes/instadisc.php @@ -97,4 +97,17 @@ function initSubscription($username, $subscriptionID, $subscriptionURL, $subscri } } +function instaDisc_listSubscriptions($username) +{ + $getsubs = "SELECT * FROM subscriptions WHERE username = \"" . mysql_real_escape_string($username) . "\""; + $getsubs2 = mysql_query($getsubs); + $i=0; + while ($getsubs3[$i] = mysql_fetch_array($getsubs2)) + { + $i++; + } + + return $getsubs3; +} + ?> -- cgit 1.4.1