Skip to content

u/hookedupphat

In this archive from Aug 2010 to Nov 2014

1
posts
24
comments
0
media
118
score

Top posts

User $wpdb with a custom database?

Hi, I'm new to working with wordpress, but I hope someone can help me with this problem. I have no problem running this very basic query with my wp_users table: global $wpdb; $user_count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT() FROM $wpdb->users" ) ); echo "User count is {$user_count}"; Thi...

1 points4 comments
Open on Reddit

Top comments

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.