diff options
Diffstat (limited to 'series/trunk/includes')
-rw-r--r-- | series/trunk/includes/instadisc.php | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
97 | } | 97 | } |
98 | } | 98 | } |
99 | 99 | ||
100 | function instaDisc_listSubscriptions($username) | ||
101 | { | ||
102 | $getsubs = "SELECT * FROM subscriptions WHERE username = \"" . mysql_real_escape_string($username) . "\""; | ||
103 | $getsubs2 = mysql_query($getsubs); | ||
104 | $i=0; | ||
105 | while ($getsubs3[$i] = mysql_fetch_array($getsubs2)) | ||
106 | { | ||
107 | $i++; | ||
108 | } | ||
109 | |||
110 | return $getsubs3; | ||
111 | } | ||
112 | |||
100 | ?> | 113 | ?> |