Title: AMFPHP WordPress Integration
Last modified: August 19, 2016

---

# AMFPHP WordPress Integration

 *  [GFXComplex](https://wordpress.org/support/users/gfxcomplex/)
 * (@gfxcomplex)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/amfphp-wordpress-integration/)
 * I have a very lengthy sql query I need help with now that the DB for wordpress
   has changed in 2.3.1
 * I want to get all “posts” and order by category, but because there is no direct
   association to the post and category I am lost.
 * How can I make a sql query that will get the category name with the post info
   and then order the list by category?

Viewing 1 replies (of 1 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/amfphp-wordpress-integration/#post-680003)
 * Have you looked into [Category_Templates](http://codex.wordpress.org/Category_Templates)?
   Or is there a compelling need to write a query manually?

Viewing 1 replies (of 1 total)

The topic ‘AMFPHP WordPress Integration’ is closed to new replies.

## Tags

 * [MySQL Query](https://wordpress.org/support/topic-tag/mysql-query/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chris_K](https://wordpress.org/support/users/handysolo/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/amfphp-wordpress-integration/#post-680003)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
