fbsql _ fetch _ assoc is equivalent to calling fbsql _ fetch _ array with fbsql _ assoc for the optional second parameter it only returns an associative array this is the way fbsql _ fetch _ array originally worked if you need the numeric indices as well as the associative use fbsql _ fetch _ array 