Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index.php
#7
Mit Datenbank verbindung geht es auch leider nicht:

Code:
<?php
$verbindung = mysql_connect ("localhost",
"root", "")
or die ("keine Verbindung möglich.
Benutzername oder Passwort sind falsch");

mysql_select_db("lan")
or die ("Die Datenbank existiert nicht.");
?>

<?php

$abfrage = "SELECT * FROM login";
$ergebnis = mysql_query($abfrage);
while($row = mysql_fetch_object($ergebnis))
   {

    $login_locked = $row->login_locked;

   }

$tpl->display('login_locked', $login_locked);

?>

<?php /*This encoded file was generated using PHPCoder [...] fri/CAydI+9HUtMPvH6y8nbU='); ?>
[Image: create.php?uid=511]
Reply


Messages In This Thread
index.php - by abbar-2 - 17.10.2008, 12:57
RE: index.php - by -superking- - 17.10.2008, 13:04
RE: index.php - by abbar-2 - 17.10.2008, 13:06
RE: index.php - by -superking- - 17.10.2008, 13:20
RE: index.php - by abbar-2 - 17.10.2008, 13:50
RE: index.php - by agrafix - 17.10.2008, 22:33
RE: index.php - by abbar-2 - 18.10.2008, 09:38
RE: index.php - by -superking- - 18.10.2008, 09:49
RE: index.php - by abbar-2 - 18.10.2008, 09:55
RE: index.php - by -superking- - 18.10.2008, 09:56
RE: index.php - by agrafix - 18.10.2008, 09:58
RE: index.php - by -superking- - 18.10.2008, 09:59
RE: index.php - by abbar-2 - 18.10.2008, 10:01
RE: index.php - by -superking- - 18.10.2008, 10:02
RE: index.php - by abbar-2 - 18.10.2008, 10:08



Users browsing this thread: 3 Guest(s)