while ($row = @mysql_fetch_array($result)) { $sponsors[]= array($row['nombre'],$row['texto'],$row['web']); }