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 answers only not deleted user 55
3 votes
Accepted

SQL query to count question marks in comment field?

, '')) AS occurrences FROM exp_comments (MySQL doesn't have a specific function for this, but I found this clever technique - which takes the field's character count and subtracts its count with all …
Derek Hogue's user avatar
  • 17.4k
6 votes
Accepted

How can I close comments on a mass scale?

There is a setting under Admin → Channel Administration → Channels → Edit Preferences - under the Comment Posting Preferences header - for Comment Expiration. Set a number of days there, and tick th …
Derek Hogue's user avatar
  • 17.4k
5 votes
Accepted

How to populate Relationships

I know you sorted this out, but for others who may wind up here looking for details: Say you have an entry with an entry_id of 10. That entry's channel has a Relationship field with a field_id of 20. …
Derek Hogue's user avatar
  • 17.4k
1 vote
Accepted

Passing a GET variable back in a query while using mysqli_real_escape_string()

Use ee()->db->escape_str($event) - it's the native way to escape potentially-unsafe data in EE.
Derek Hogue's user avatar
  • 17.4k