Skip navigation
ilmagodiloz86
Currently Being Moderated

FlashBuilder PHP service doesn't see my public functions

Jun 17, 2009 5:20 AM

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

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points