Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

    /**
     * @package   Content-management
     * @author    Webagentur Niewerth <tiefland@weban.de>
     * @copyright 2011 Webagentur Niewerth
     * @license   propietary http://www.weban.de
     * @version   $Rev: 770 $
     * @filesource
     * 
     */

    /**
     * 
     * @package   Content-management
     * @author    Webagentur Niewerth <tiefland@weban.de>
     * @copyright 2011 Webagentur Niewerth
     */

    // SVN: $Id: add_image.php 770 2011-10-28 08:48:45Z tiefland $

    require_once "../toolbox/common.php";

    $a_id = Weban_Utils::clean_global_input( "a_id", "get", "int" );
    $b_id = Weban_Utils::clean_global_input( "b_id", "get", "int" );

    $sql = "INSERT INTO
            artikel_bilder
        SET
            artikel_id=$a_id,
            bild_id=$b_id
    ";
    $res = mysql_query( $sql );
?>