Also...you might want to perform a print of that query...I don't believe that your variable $wpdb->posts is ever getting interpolated.
Perhaps try wrapping it in curly braces, like this;
{$wpdb->posts}
That is the proper way to perform variable interpolation on object or array based variables.
~A~
Main Topics
Browse All Topics





by: adrian_brooksPosted on 2009-10-07 at 18:17:47ID: 25521741
Is [flatfile] a wordpress value or a static string you wish to store?
~A~