Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
    /**
4
     * @package   Content-management
5
     * @author    Webagentur Niewerth <tiefland@weban.de>
6
     * @copyright 2011 Webagentur Niewerth
7
     * @license   propietary http://www.weban.de
8
     * @version   $Rev: 770 $
9
     * @filesource
10
     *
11
     */
12
 
13
    /**
14
     *
15
     * @package   Content-management
16
     * @author    Webagentur Niewerth <tiefland@weban.de>
17
     * @copyright 2011 Webagentur Niewerth
18
     */
19
 
20
    // SVN: $Id: del_image.php 770 2011-10-28 08:48:45Z tiefland $
21
 
22
    require_once "../toolbox/common.php";
23
 
24
    var_dump($_POST);
25
    $a_id = Weban_Utils::clean_post_input("a_id","int");
26
    $b_id = Weban_Utils::clean_post_input( "b_id", "int" );
27
 
28
    $sql = "DELETE FROM
29
            artikel_bilder
30
        WHERE
31
            artikel_id=$a_id
32
        AND
33
            bild_id=$b_id
34
    ";
35
    echo $sql;
36
    $res = mysql_query( $sql );
37
 
38
?>