#количество итераций (столбцов)
line = []
row = []
nLetters = len(letters)
nWords = len(dicWords)
iL = 0
while iL <= len(letters) - 1:
iW = 0
while iW <= len(dicWords) - 1:
word = dicWords.get(iW)
er = letters[iL].count(word)
line.append(er)
iW = iW + 1
row.insert(iL,line)
#print row[iL]
line = list()
iL = iL + 1
print row
{
"config": {
"github-oauth": {
"github.com": "вот здесь токен"
}
}
}
SELECT storagepoints.StorageName,polygoneskwsKomi.id
FROM storagepoints,polygoneskwsKomi
WHERE (CONTAINS(polygoneskwsKomi.points,CONCAT('geometryfromtext(\'Point(',storagepoints.Latitude,' ',storagepoints.Longitude,')\'))')) = 1)
$query1 = "SELECT storagepoints.StorageName, storagepoints.Latitude,storagepoints.Longitude FROM storagepoints WHERE 1;";
$query1 = mysqli_query($connection, $query1);
$i=0;
while ($row = mysqli_fetch_assoc($query1)) {
$a = $row['Latitude'];
$b = $row['Longitude'];
$c = strval("geometryfromtext('Point(".$a." ".$b.")')");
echo $c;
//
// echo "------------------------";
$rows = mysqli_num_rows($query2);
//if ($query2) {
$query2 = "SELECT polygoneskwsKomi.id AS id FROM polygoneskwsKomi WHERE (CONTAINS(polygoneskwsKomi.points, $c) = 1);";
$query2 = mysqli_query($connection, $query2);
$row2 = mysqli_fetch_assoc($query2);
echo (" - ".$row2['id']."</br>");