Fetch_assoc in redbeanphp?

Hello. How to write fetch_assoc using redbeanphp? (Please don't suggest PDO)
<div class="box-write">
 <form enctype="multipart/form-data" action="/" method="post">
 <div class="line-input">
 <textarea name="text" type="text"></textarea>
 <div class="box-write-under">
 <input type="file" name="upload" multiple accept="image/*,video/*">
 <button name="new_post" type="submit">Send</button>
 $query = R::getRow("SELECT * FROM posts ORDER BY id DESC");
 while($row = $query->fetch_assoc()) {
 //$show_img = base64_encode($row['img']);
April 4th 20 at 13:19
1 answer
April 4th 20 at 13:21
Instead of getRow rock getAll, there is just an array of displays

Find more questions by tags PHPMySQL