thanks for your reply, that looks like exactly what I need. the reason I was rolling my own SQL is because i’m using amfphp to pull posts data into flash. being a wordpress noob, i’ve been reading up on The Loop, but i’m not sure how that would fit into the FlashPress amfphp service i’m using.
i’m doing it like this:
1. mysql_query
2. loop results, parse columns into a dataobject
3. return array of typed dataobject
which ends up being an array of typed data objects in flash/as3.
so, with that in mind, is there a way to do this type of syntax while still using query_posts?
while( ( $row = mysql_fetch_array( $result ) ) != false )
many thanks – trevor