Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 395 | Revision 679 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 395 Revision 397
Zeile 17... Zeile 17...
17
            OR
17
            OR
18
                `name-en` = '" . $Land . "'
18
                `name-en` = '" . $Land . "'
19
            OR
19
            OR
20
                `id` = '" . $Land . "'
20
                `id` = '" . $Land . "'
21
        ";
21
        ";
22
	$res = DB::connection('cms')->query($sql);
22
        $row = DB::connection( 'cms' )->select( $sql );
23
        $row = $res->fetch_assoc();
-
 
24
        if ( $row )
23
        if ( $row )
25
        {
24
        {
26
            $iso = $row["iso_code"];
25
            $iso = $row["iso_code"];
27
        }
26
        }
28
        return $iso;
27
        return $iso;