Top "Loops" questions

Loops are a type of control flow structure in programming in which a series of statements may be executed repeatedly until some condition is met.

Single Result from Database by using mySQLi

I am trying to use mySQLi for the first time. I have done it in case of loop. Loop results …

php loops mysqli
Python: Continuing to next iteration in outer loop

I wanted to know if there are any built-in ways to continue to next iteration in outer loop in python. …

python loops
How to start and stop/pause setInterval?

I'm trying to pause and then play a setInterval loop. After I have stopped the loop, the "start" button in …

javascript jquery loops setinterval
Looping through rows in a DataView

The DataView object doesn't have a Rows property like DataTable. How do I loop through the rows of a DataView?

.net loops dataview
Check if list<t> contains any of another list

I have a list of parameters like this: public class parameter { public string name {get; set;} public string paramtype {get; …

c# list loops c#-4.0 subset
Abort trap 6 error in C

I have this code: void drawInitialNim(int num1, int num2, int num3) { int board[2][50]; //make an array with 3 columns int …

c arrays loops abort
Loop through childNodes

I'm trying to loop through childNodes like this: var children = element.childNodes; children.forEach(function(item){ console.log(item); }); However, …

javascript loops children
C#: Looping through lines of multiline string

What is a good way to loop through each line of a multiline string without using much more memory (for …

c# loops multilinestring
How can INSERT INTO a table 300 times within a loop in SQL?

I would like to insert a value retrieved from a counter in SQL and repeat it 300 times. Something like: DECLARE @…

sql-server tsql loops insert
Is it possible to implement a Python for range loop without an iterator variable?

Is it possible to do following without the i? for i in range(some_number): # do something If you just …

python loops for-loop range