respectyoda on "Query Wordpress database by registered date and role"
I can post a SQL query for you to run.
View Articlelacheney on "Query Wordpress database by registered date and role"
Hi respectyoda That would be incredibly helpful of you. It'll be used in a PHP script and the idea is that the returned details then go into an array which can be looped through to subscribe them to a...
View ArticleSubin Siby on "[Theme: Twenty Fourteen] MySQL has gone away for the query...
I'm not using a child theme, but I did a makeeover of the template (not a big makeover). I am using the custom CSS plugin from Jetpack, but from the error logs, it 's not the fault of those.
View ArticleStrictly Software on "[Plugin: WP-DBManager] Automatic Backup stops at the...
Hi Well I have tried disabling JetPack and that doesn't seem to work. It has actually caused me a nightmare today as I didn't have any recent backups and I found a crashed and unrepairable wp_postmeta...
View Articlerespectyoda on "Query Wordpress database by registered date and role"
SELECT user_login, user_email, meta_key, meta_value FROM wp_usermeta, wp_users WHERE wp_users.ID = wp_usermeta.user_id AND wp_usermeta.meta_key = 'wp_user_level' AND wp_usermeta.meta_value = 0 AND...
View Articlelacheney on "Query Wordpress database by registered date and role"
Hi, So I have the complete code as: <? mysql_connect("localhost", "user", "pass") or die(mysql_error()); mysql_select_db("dbname") or die(mysql_error()); $result = mysql_query("SELECT user_login,...
View Articlerespectyoda on "Query Wordpress database by registered date and role"
I'd recommend you to use this: while ($row = mysql_fetch_assoc($result)) { print_r($row); }
View Articlelacheney on "Query Wordpress database by registered date and role"
Sorry to be a pain. This is my full code. What I'm trying to do is extract each display name and each email from the result and put them through a loop: <? mysql_connect("localhost", "DBUSER",...
View Articlerespectyoda on "Query Wordpress database by registered date and role"
You have to understand that this piece of code... $row = mysql_fetch_row($result); ...only returns the number of rows. So, you'd have to access the values by using the index/name. Here's an example....
View Articlelacheney on "Query Wordpress database by registered date and role"
Thanks. I'm getting an error when i try and put my code in though. while ($row = mysql_fetch_array($result)) { echo "Name :{$row['user_login']} <br>" . "Email : {$row['user_email']} <br>" ....
View Articlerespectyoda on "Query Wordpress database by registered date and role"
I would suggest you to do something similar as this sample piece of generic code. $data = array('foo'=>'bar', 'baz'=>'boom', 'cow'=>'milk', 'php'=>'hypertext processor'); echo...
View Articlelacheney on "Query Wordpress database by registered date and role"
Sorry, I'm confused as to how that fixes the issue with the while ($row = mysql_fetch_array($result)) line
View Articlerespectyoda on "Query Wordpress database by registered date and role"
Check the return value of mysql_error(). Also, I would recommend you to use mysqli, not mysql.
View Articlegobr on "[Plugin: Google Publisher Plugin (beta)] Plugin Activation Fail!"
I installed the plugin and when I click "Activate the plugin" after the install it shows me this message. Plugin activation failed. Your WordPress installation doesn't meet the minimum requirements....
View ArticlePeterBooker on "[Plugin: Google Publisher Plugin (beta)] Plugin Activation...
A quick glance at the code shows it requires PHP 5.2 or higher and the following PHP extensions: 'filter', 'json', 'pcre', 'SPL'
View ArticleLester Chan on "[Plugin: WP-DBManager] Automatic Backup stops at the number...
Have you thought of out the box to use a cron job with myqsqldump to backup the db directly rather than using it via plugin?
View ArticleStrictly Software on "[Plugin: WP-DBManager] Automatic Backup stops at the...
Yes that is what I am having to do now, use VMIN to do backups however I just don't get why the plugin works on one DB on the same server (same plugins - versions etc) and not on this one. Surely you...
View ArticleLester Chan on "[Plugin: WP-DBManager] Automatic Backup stops at the number...
Unfortueny I can't answer these questions: 1. Where does it get the current timestamp from 2. What maths does it use to add to that to get the next backup date 3. What has to run/load/fire to initiate...
View ArticleSubin Siby on "[Theme: Twenty Fourteen] MySQL has gone away for the query...
Here is the log file : http://pastebin.com/QQZev4aQ
View ArticleDan & Jennifer on "[Plugin: Simple Login Log] Performance issue: SELECT *...
Hey Max! I see there's a new release - can you please confirm if this issue has been fixed in this release? :-) Thanks so much! Dan
View Article