diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 15:49:20 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 15:49:20 +0000 |
commit | abb2d3c67ddc132c4cc7ea435e13731527c32634 (patch) | |
tree | 65aa76b08708397dd79cee29f4bc09826825a1bb /series/trunk/includes | |
parent | 7bb63b11cd21e97ddece876d46d9e06e81b95a55 (diff) | |
download | instadisc-abb2d3c67ddc132c4cc7ea435e13731527c32634.tar.gz instadisc-abb2d3c67ddc132c4cc7ea435e13731527c32634.tar.bz2 instadisc-abb2d3c67ddc132c4cc7ea435e13731527c32634.zip |
Series: Worked on ACP
Refs #53
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 | ?> |