Changeset 26057

Show
Ignore:
Timestamp:
12/04/07 21:53:28 (8 months ago)
Author:
wuerzblog
Message:

0.7beta1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • a-year-before/trunk/ayb_posts.php

    r26056 r26057  
    9696      $q="SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status='publish' AND post_password='' AND YEAR(post_date_gmt)=".$datum['year']." AND MONTH(post_date_gmt)=".$datum['mon']." AND DAYOFMONTH(post_date_gmt)=".$datum['mday']." ORDER BY post_date_gmt"; 
    9797      $q="SELECT ID, post_title, post_date FROM $wpdb->posts WHERE post_status='publish' AND post_password='' AND (post_date >= '".$range_date1."' AND post_date <= '".$range_date2."') ORDER BY post_date DESC";  
    98 echo $q;     
     98//echo $q;   
    9999      $result = $wpdb->get_results($q, OBJECT); 
    100100      //print_r($result);