[guadec-web] Corrected table name



commit 8eaff400b62fb34c7d1c621f3d4995aba0dce67c
Author: Saumya Dwivedi <saumya zero gmail com>
Date:   Mon Jul 7 15:40:28 2014 +0530

    Corrected table name

 guadec/access-register.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/guadec/access-register.php b/guadec/access-register.php
index 8789f8c..3156204 100644
--- a/guadec/access-register.php
+++ b/guadec/access-register.php
@@ -53,11 +53,11 @@ else{
            switch($action) {
 
                case 'showall' :
-                   $result = $wpdb->get_results('SELECT * FROM wp_guadec2014_registration', ARRAY_A);
+                   $result = $wpdb->get_results('SELECT * FROM wp_guadec2014_registrations', ARRAY_A);
                        echo display_result($result);
                        break;
                case 'showcomplete' :
-                       $result = $wpdb->get_results("SELECT * FROM wp_guadec2014_registration WHERE payment 
= 'Completed' OR payment ='NoPayment'", ARRAY_A);
+                       $result = $wpdb->get_results("SELECT * FROM wp_guadec2014_registrations WHERE payment 
= 'Completed' OR payment ='NoPayment'", ARRAY_A);
                        echo display_result($result);
                        break;
                    


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]