Inside the "for" loop, organize another loop for reading the database. For each read element, check whether specified condition (in your case, i == element) is true. If it is true, continue the for...
Type: Posts; User: angstrem
Inside the "for" loop, organize another loop for reading the database. For each read element, check whether specified condition (in your case, i == element) is true. If it is true, continue the for...
while(database input has elements) {
read the element;
if (i == element) contunue mainLoop;
}
Of course, the for should be labeled with mainLoop label then.