[insert_php] echo ‘Hallo Maike’;[/insert_php][insert_php]

$host=”localhost”;
$user=”dbu10473854″;
$passwort=”munkel14″;
$conn=mysql_connect($host,$user,$passwort);

if ($conn)
{
mysql_select_db(“db10473854-shop”);
echo ‘Hallo Maike’;
}
else
{
echo “Verbindung konnte nicht hergestellt werden.
\n”;
echo mysql_errno() . “:” . mysql_error(). ”
\n”;
} [/insert_php] [insert_php] //Warenkorb anzeigen

if (isset($_GET[“artikel”])) {

// Abfrage gewählte Artikel-Stammdaten

$artikelnr = $_GET[“artikel”];
$result = mysql_query(“select * from artikel WHERE artnr=’$artikelnr’ “);
$row = mysql_fetch_row($result);
$artlaenge = $row[2];
$artpreis = $row[3];
$gewicht = $row[4];
$Sonderwarnung = $row[6];

[/insert_php]