Timeline for query specific posts according their custom fields, using sql SELECT
Current License: CC BY-SA 3.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 2, 2023 at 19:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 1, 2023 at 19:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 30, 2022 at 1:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 18, 2022 at 6:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 13, 2022 at 15:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 13, 2021 at 16:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 14, 2021 at 18:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 14, 2020 at 1:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 12, 2019 at 9:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 13, 2019 at 3:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 7, 2019 at 14:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 24, 2013 at 18:18 | comment | added | s_ha_dum |
You are assuming the problem is a SQL error. It may not be. WP_DEBUG will identify PHP errors/notices but logic mistakes are not PHP errors. Your code can be broken and never through an error. Your code should be formatted in the preview window. You are doing something wrong but I can't tell what. Add your code and try to format it. It can be corrected by other users (nearly everything here is community editable).
|
|
Aug 24, 2013 at 18:09 | comment | added | universal_wannabe | I have tried to find out where it fails with <?php $wpdb->show_errors(); ?> and <?php $wpdb->print_error(); ?>, but it just prints out my SELECT query then. Changing WP DEBUG to true in wp-config also did not resulted in any errors. And about the {} button - I tried it, but the code was not formatted right in the preview section - should it be that way? | |
Aug 24, 2013 at 17:49 | answer | added | Milo | timeline score: 0 | |
Aug 24, 2013 at 17:20 | comment | added | s_ha_dum |
"it does not work" is not a question. Where/how does it fail? You need to do some of the debugging yourself. This site has perfectly adequate code formating-- look for the {} button-- though it would be nice if it had line numbers.
|
|
Aug 24, 2013 at 17:07 | review | First posts | |||
Aug 24, 2013 at 17:24 | |||||
Aug 24, 2013 at 17:00 | comment | added | universal_wannabe | I was not able to post code here formatted nicely, and I didn't know it is not allowed to use another site...sorry. | |
Aug 24, 2013 at 16:58 | comment | added | universal_wannabe | Oh, sorry, the question is that it does not work... And I cannot figure it out why. I tried WP_Query way, but was not able to make it search across multiple custom fields at once. | |
Aug 24, 2013 at 16:55 | comment | added | s_ha_dum | Please edit relevant code into the question itself. A question should not be dependent upon a third party site. | |
Aug 24, 2013 at 16:54 | comment | added | Milo |
What's your question exactly? Why not just use WP_Query instead of a raw SQL query?
|
|
Aug 24, 2013 at 16:49 | history | asked | universal_wannabe | CC BY-SA 3.0 |