Filter & count the database
-
I recently started with CFDB (payed). It works easy and very well with CFormsII. Shortcodes are easy to create. It is realy fantastic.
Unfortunately, I’m rather inexperienced with PHP. I want to count the database based on a filter. But I always get to see the total. What am I doing wrong?
include_once(ABSPATH . 'wp-content/plugins/contact-form-7-to-database-extension/CFDBShortcodeCount.php'); $countShortCode = new CFDBShortcodeCount(); $attributes = array('form' => 'Customerlist'); add_filter( '$_GET(customercode)' , 'SalesColumn-123' ); echo($countShortCode->handleShortCode($attributes)); echo "<br/>"; echo $_GET['customercode'];
- The topic ‘Filter & count the database’ is closed to new replies.