Asterisk PHPAGI SOLVED

is there any place where i can see some examples of phpagi and mysql connection using asterisk. i have built agis for edit data in mysql with phpagi and work fine, but i cant get that asterisk read info back form a mysql database.

Solved was a bad coding, Now it s working fine