diff options
Diffstat (limited to 'pages/quotes.php')
-rwxr-xr-x | pages/quotes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/quotes.php b/pages/quotes.php index 4e0332f..4d0b46e 100755 --- a/pages/quotes.php +++ b/pages/quotes.php | |||
@@ -154,7 +154,7 @@ if (isset($_GET['id']) && !(is_numeric($_GET['id']))) | |||
154 | { | 154 | { |
155 | $settrack = "UPDATE rash_tracking SET vote = \"" . $gettrack3['vote'] . "," . $quote_num . "\" WHERE id = " . $gettrack3['id']; | 155 | $settrack = "UPDATE rash_tracking SET vote = \"" . $gettrack3['vote'] . "," . $quote_num . "\" WHERE id = " . $gettrack3['id']; |
156 | } else { | 156 | } else { |
157 | $settrack = "INSERT INTO tracking (ip,vote) VALUES (\"" . $_SERVER['REMOTE_ADDR'] . "\",\"" . $quote_num . "\")"; | 157 | $settrack = "INSERT INTO rash_tracking (ip,vote) VALUES (\"" . $_SERVER['REMOTE_ADDR'] . "\",\"" . $quote_num . "\")"; |
158 | } | 158 | } |
159 | $settrack2 = mysql_query($settrack) or die($settrack); | 159 | $settrack2 = mysql_query($settrack) or die($settrack); |
160 | 160 | ||