<?php fbsql_connect($host, $user, $password);$result = fbsql_db_query("database", "select * from table"); while ($row = fbsql_fetch_object($result)) { echo $row->user_id; echo $row->fullname; }fbsql_free_result($result);?>