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: add_image.php 770 2011-10-28 08:48:45Z tiefland $
21
 
22
    require_once "../toolbox/common.php";
23
 
24
    $a_id = Weban_Utils::clean_global_input( "a_id", "get", "int" );
25
    $b_id = Weban_Utils::clean_global_input( "b_id", "get", "int" );
26
 
27
    $sql = "INSERT INTO
28
            artikel_bilder
29
        SET
30
            artikel_id=$a_id,
31
            bild_id=$b_id
32
    ";
33
    $res = mysql_query( $sql );
34
?>