Hideme Flow
29.05.2021, 13:24
Есть в базе данных `message` столбец `text`
https://forum.antichat.xyz/attachments/27753310/
я получаю `text`, пишу вот такой код
PHP:
$sql
=
"SELECT * FROM `messages` WHERE `id` = $id"
;
$result
=
$connect
-
>
query
(
$sql
)
;
$getmess
=
$result
-
>
fetch_row
(
)
;
$text
=
$getmess
[
3
]
;
echo
$text
;
и выводится
https://forum.antichat.xyz/attachments/27753310/
Как сделать чтобы выводилось
https://forum.antichat.xyz/attachments/27753310/
https://forum.antichat.xyz/attachments/27753310/
я получаю `text`, пишу вот такой код
PHP:
$sql
=
"SELECT * FROM `messages` WHERE `id` = $id"
;
$result
=
$connect
-
>
query
(
$sql
)
;
$getmess
=
$result
-
>
fetch_row
(
)
;
$text
=
$getmess
[
3
]
;
echo
$text
;
и выводится
https://forum.antichat.xyz/attachments/27753310/
Как сделать чтобы выводилось
https://forum.antichat.xyz/attachments/27753310/