$result = mysql_query("SELECT * FROM dle_post");
$names = [];
while ($row = mysql_fetch_array($result)) {
$names[] = $row['short_story'];
}
$row1 = mysql_num_rows($result);
for ($i = 0; $i <= $row1; $i++) {
$strop = strip_tags($names[$i]);
echo $strop;
$rowok = mysql_query("UPDATE dle_post SET short_story='".$strop."' WHERE short_story='".$names[$i]."'");
}
<p class=\"id1\">