Subject migrate mysql 5 php script to firebird 2.5
Author Roberto Carlos
How could I convert the following php script from mysql to firebird?
 
        //Get records from database
        $result = mysql_query("SELECT * FROM people;");
       
        //Add all records to an array
        $rows = array();
        while($row = mysql_fetch_array($result))
        {
            $rows[] = $row;
        }

        //Return result to jTable
        $jTableResult = array();
        $jTableResult['Result'] = "OK";
        $jTableResult['Records'] = $rows;
        print json_encode($jTableResult);


thanks for any help.