View file katrinka.ru/admin/book_del.php

File size: 302B
<?php
  include '../wap/config.php';
    if (!($conn=pg_connect("host=$dbhost port=$dbport dbname=$dbname user=$dbuser password=$dbpass"))) {
      echo ("пЫЙВЛБ РПДЛМАЮЕОЙС Л вд!\n");
    };
    pg_query($conn,"delete from wapgbk where id=$id");
    pg_close($conn);
	header("Location: book.php");
?>