Title: [Plugin: Donation Goals] Database Connection
Last modified: August 20, 2016

---

# [Plugin: Donation Goals] Database Connection

 *  [SpoonIsBad](https://wordpress.org/support/users/spoonisbad/)
 * (@spoonisbad)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-donation-goals-database-connection/)
 * Instead of having to input the amount raised, I’m trying to display the number
   of rows in a particular MySQL Database table. Is this possible? If so could you
   point in the right direction?
 * I’ve started to do a little of the work on my own, but I’m now stuck. At the 
   top where all of the other require php files are being called, I call my connect
   script, then run a COUNT (*) of my database to return the total number of rows.
   However, I can’t seem to get the amount raised value to recognize the number 
   of rows.
 * [http://wordpress.org/extend/plugins/donate-goal/](http://wordpress.org/extend/plugins/donate-goal/)

The topic ‘[Plugin: Donation Goals] Database Connection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/donate-goal.svg)
 * [Donation Goals](https://wordpress.org/plugins/donate-goal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/donate-goal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/donate-goal/)
 * [Active Topics](https://wordpress.org/support/plugin/donate-goal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/donate-goal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/donate-goal/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [SpoonIsBad](https://wordpress.org/support/users/spoonisbad/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-donation-goals-database-connection/)
 * Status: not resolved