Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$active=mysql_query("SELECT * FROM `table` WHERE active='0' ORDER BY id DESC LIMIT 20") or die(mysql_error());
while($row = mysql_fetch_assoc($active)){
//вадиш си инфото
<input type="hidden" name="id" value="'.$row['id'].'"/>
<input type="submit" name="submit" value="Одобри" class="submit_big"/>
}
if(isset($_POST['submit'])){
$sql="UPDATE `table` SET `active`='1' WHERE `id`='".$_POST['id']."'";
mysql_query($sql) or die(mysql_error());
echo '<meta http-equiv="refresh" content="0">';
}
Там си пишеш едно поле и после само нагласяш подробностите.Добавяне на поле(та) в края на таблицата в началото на таблицата след