Просмотр файла katrinka.ru/admin/book_del.php
- <?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");
- ?>