Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 65

MySQL is an open-source, relational database management system.

0 votes
Accepted

Call to undefined function get_user_meta() - trying to access data in MySQL from custom fields

For one thing, you don't have to include wp-config or wp-db when you use wp-load. And as t31os says, single-quotes around variables will keep them from being interpreted by PHP. <?php include_once('w …
Dougal Campbell's user avatar
2 votes

Wordpress and MySQL: trying to print data using PHP from user_meta custom field data

That's a serialized object variable. The numbers are string lengths, for example, where you see s:8:"duration", notice that the word 'duration' is 8 characters long. You shouldn't have to worry about …
Dougal Campbell's user avatar
17 votes
Accepted

Retrieve featured image

The featured image attachment id is stored in the post_meta table, with the meta_key _thumbnail_id. Use that post id to find the post meta with meta_key _wp_attachment_metadata. The value of that i …
Dougal Campbell's user avatar