Home › Forums › Other › SQL Like Statement in WordPress › Re: SQL Like Statement in WordPress
January 31, 2013 at 11:25 am
#122914
TylerNYC
Member
It would look similar to this.
$wpdb->prepare( “SELECT COUNT(post_author) from wp_posts WHERE post_title NOT LIKE %s;”, ‘%’ . like_escape($ReplyTo) . ‘%’);