Answer the question
In order to leave comments, you need to log in
Why is table output not working?
$mysqli=new mysqli(
'localhost', /* Хост, к которому мы подключаемся */
'glaps', /* Имя пользователя */
'root1', /* Используемый пароль */
'studio'); /* База данных для запросов по умолчанию */
if ($mysqli->connect_errno) {
printf("Не удалось подключиться: %s\n", $mysqli->connect_error);
exit();
}
$strSQL = "SELECT * FROM zaivka";
$res = $mysqli->query($strSQL);
$res2 = $res->fetch_array();
while($row = $res2) {
echo $row['K_name'];
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question