# How to get Columns Comment with amfphp

**URL:** <https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082>\
**Category:** flash\
**Created:** [August 1, 2011, 3:26pm UTC](https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082 "2011-08-01T15:26:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeeto](https://avatars.discourse-cdn.com/v4/letter/z/e274bd/32.png) [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Post date:** [August 1, 2011, 3:26pm UTC](https://forum.kirupa.com/t/how-to-get-columns-comment-with-amfphp/324082/1 "2011-08-01T15:26:19Z")

</div>

Hello,

I’m using amfphp to get some info from SQL database.

My php code of the file in “services” folder looks like:

```auto
function getImages() { return mysql_query("SELECT * FROM images");}

```

And I’m getting the info using the “responds” Object this way:

```auto
var images:Array = responds.serverInfo.initialData;
var categories:Array = responds.serverInfo.columnNames;

```

My question is, how should I modify the code to receive also the columns comments?

Thanks!
