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