Hey,
PHP
<?php
mysql_connect("localhost", "xxxx", "xxxx");
mysql_select_db("xxxx");
$query = mysql_query("SELECT * FROM Nutzer");
while($row = mysql_fetch_assoc($query))
{
echo $row['Name'] . " - " .$row['Online'] ."<br>";
}
print_r($_test);
$handle = fopen ("Test.txt", "w");
while ( $test = fgets ($handle, 4096 ))
{
echo "$test";
}
fclose($handle);
Alles anzeigen
er schreibt nix in die .txt.... need help