I've got a problem. I did the Code below (no Comments cause of the bad coding). In my DB there is one row with the id = 1 and the name = Ole. But when I write " echo "$result " ; " It says "Yannik". Don't know why pls help:D
<?php
session_start();
require_once ("config.php");
$Benutzer = $_SESSION['Name'] ;
$sql = "SELECT bla From test WHERE id = 1 ";
$res= mysql_query($sql) or die (mysql_error());
$result=$res['bla'];
echo "$result </br>" ;
?>