🎱🇷
Size: a a a
F
🎱🇷
P
<tbody>Результат:
<?
$query = mysqli_query($CONNECT, 'SELECT * FROM `Gallery` ORDER BY `Id_Gallery` DESC');
if ( !mysqli_num_rows($query) ) exit("CLEAR");
while ($row = mysqli_fetch_assoc($query))
{?>
<tr>
<form id="<?= $row['Id_Gallery'] ?>" method="post">
<td><?= $row['G_alt'] ?></td>
<td><?= $row['G_Url'] ?></td>
<td>
<ul class="left">
<li style="float: left; list-style: none;">
<button class="button primary small" type="submit" name="delete" value="<?= $row['Id_Gallery'] ?>">
<i class="far fa-trash-alt"></i>
</button>
</li>
<li style="float: left; list-style: none;">
<button class="button primary small" type="submit" name="edit" value="<?= $row['Id_Gallery'] ?>">
<i class="far fa-edit"></i>
</button>
</li>
</ul>
</td>
</form>
</tr>
<? }?>
</tbody>
<tbody>Форма создается и закрывается сражу
<tr>
<form id="7" method="post"></form>
<td>Пример №1</td>
<td>h....</td>
<td>
<ul class="left">
<li style="float: left; list-style: none;">
<button class="button primary small" type="submit" name="delete" value="7">
<i class="far fa-trash-alt" aria-hidden="true"></i>
</button>
</li>
<li style="float: left; list-style: none;">
<button class="button primary small" type="submit" name="edit" value="7">
<i class="far fa-edit" aria-hidden="true"></i>
</button>
</li>
</ul>
</td>
</tr>
<tr>
<form id="6" method="post"></form>
<td>Пример №2</td>
<td>....</td>
<td>
<ul class="left">
<li style="float: left; list-style: none;">
<button class="button primary small" type="submit" name="delete" value="6">
<i class="far fa-trash-alt" aria-hidden="true"></i>
</button>
</li>
<li style="float: left; list-style: none;">
<button class="button primary small" type="submit" name="edit" value="6">
<i class="far fa-edit" aria-hidden="true"></i>
</button>
</li>
</ul>
</td>
</tr>
</tbody>
<form id="7" method="post"></form>PC
foreach ($urls[0] as $url) {
$threeFile = file_get_contents($url);
$threeFileEnds = preg_replace("/[^0-9]/", '', $threeFile);
file_put_contents($file, $threeFileEnds, FILE_APPEND);
}AF
VC
VC
P
VS
DM
VS
PC
- и взял просто нулевой элемент получившегося массива.PC
VS
АМ
PC
SimpleXMLElement() появляется ошибка 500 ошибка после некоторого ождания (15-20 сек).GK