i tried ti scho the $sql and it echos:
SELECT Passwort FROM Friends WHERE Name='ali'
I think it should work, but it does not....
I really don't know where to look for help... please think about this once more
$verbindung = mysql_connect ("xxx.xxx.xx", "xxxxx", "xxxxxxx")
or die ("Unable to connect to Database");
$sql = "SELECT Passwort FROM Friends WHERE Name='ali'" ;
$result = mysql_query($sql, $verbindung);
if(!$result){
print mysql_error();
die();
}
while($data = mysql_fetch_array($result))
{
echo $data["Passwort"];
}
thanks in advance ali