....
$info=array();
while ($result = $query ->fetch_object()) {
$info[]=$result->tn;
$info[]=$result->cn;
$info[]=$result->cityn;
$info[]=$result->cen;
}
$result->free_result;
...
Плз, приведите пример!
....
$info=array();
while ($result = $query ->fetch_object()) {
$info[]=$result->tn;
$info[]=$result->cn;
$info[]=$result->cityn;
$info[]=$result->cen;
}
$result->free_result;
...