//list1-2-3-ваши списки
//result-результирующий список
for i, data in enumerate(list1):
result.append(data)
result.append(list2[i])
result.append(list3[i])
Или так:
//list1-2-3-ваши списки
//result-результирующий список
for i, data in enumerate(list1):
element=data+", "+list2[i]+", "+list3[i]
result.append(element)
<?php
if (isset($_POST['phone'])){
$zapros1 = " and 'phone' IN ('".$_POST['phone']."')";
} else {$zapros1="";}
if (isset($_POST['dateadd'])){
$zapros1 = " and 'dateadd' IN ('".$_POST['dateadd']."')";
} else {$zapros2="";}
if (isset($_POST['name'])){
$zapros1 = " and 'name' IN ('".$_POST['name']."')";
} else {$zapros3="";}
if (isset($_POST['place'])){
$zapros1 = " and 'place' IN ('".$_POST['place']."')";
} else {$zapros4="";}
$foolzapros="WHERE ".$zapros1.$zapros2.$zapros3;