import random
set1 = set()
set2 = set()
i = 0
while i < 400000:
set1.add(random.randint(1000000, 10000000))
set2.add(random.randint(1000000, 10000000))
i = i+1;
print set(set1).intersection(set2)
...
db.transaction(function (tx) {
tx.executeSql('SELECT * FROM logistic', [], function(tx, result){
rav = sql_result(tx, result);
some_fun(rav);
});
..
var some_fun = function(rav) {
alert(rav);
}
header('Location: /test.php');