sql_query | Normal SQL query for Selects, Inserts, Updates, Detetes and any table / database structure changes | sql_numrows | counts the number of rows returned by the query | sql_fetchrow | Creates an array of values that the query returned |
$sql = "SELECT * FROM ".$prefix."_random_table WHERE id=1"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); |