connect_errno) die('Database error: ' . $base->connect_error); $command=$base->prepare("set names 'utf8'"); $command->execute(); $command->close(); $command = $base->prepare('select Language from CountryLanguage where CountryCode = "ALB"'); $command ->execute(); $command ->bind_result($language); while ($command ->fetch()) echo "$language \n"; $command->close(); $command=$base->prepare('select Code from Country where Name = "China"'); $command->execute(); $command->bind_result($code4china); $command->fetch(); echo "$code4china \n"; $command->close(); $command3 =$base->prepare("select Name,Population from City where CountryCode='$code4china' order by Population desc"); $command3 ->execute(); $command3 ->bind_result($china,$people); while($command3 ->fetch()) echo "$china $people \n"; $command3->close(); //$command4=$base ->prepare('insert into CountryLanguage ?>