BR \n"; $meta = fbsql_fetch_field ($result); if (!$meta) {echo "No information available BR \n";} echo "PRE max_length: $meta - max_length name: $meta - name not_null: $meta - not_null table: $meta - table type: $meta - type / PRE"; $i++;} fbsql_free_result ($result);?
?php fbsql_connect( $host, $user, $password) or die ("Impossible de se connecter"); $result = fbsql_db_query("database", "select * from table ;") or die ("Query failed"); / / lire les données de colonnes $i = 0; while ($i fbsql_num_fields($result)) {echo "Information de la colonne $i: br \n"; $meta = fbsql_fetch_field($result); if (!$meta) {echo "Aucune information disponible br \n";} echo "PRE max_length: $meta - max_length name: $meta - name not_null: $meta - not_null table: $meta - table type: $meta - type / PRE"; $i++;} fbsql_free_result($result);?