hi,
$dbh = new PDO('mysql:host=localhost;dbname=cache', "user", "pw");
$stmt = $dbh->prepare("SELECT * FROM cache");
print_r($stmt->fetch());
Möchtest du das Statement nicht erst mal ausführen lassen ...?
$stmt = $dbh->prepare(...);
$sth->execute();
$stmt->fetch();
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }