15 Replies Latest reply: Jun 18, 2009 7:44 PM by Mayank (Adobe) RSS

    FlashBuilder PHP service doesn't see my public functions

    ilmagodiloz86 Community Member

      I apologise if it's a stupid question, feel free to delete the post.


      When I create a new Data/Service in Flash Builder, it doesn't see my public function as a method I could use in the application.

      This is my PHP code, is there something wrong??


      class PeopleClass {

           public function requestUsers() {


                mysql_connect ("localhost", "root", "root");

                mysql_select_db ("People");

                mysql_query ("SET NAMES utf8");



                $list = mysql_query (" SELECT * FROM Users ");



                $rows = array();


                while ($row = mysql_fetch_object ($list)) {

                     $rows[] = $row;




                return $rows;




      Thanks in advance