in reply to Check for null results
$sth = $dbh -> prepare (qq~select One, Two, Three, Four, Five from Fan +Ratings where Title = ?~) or die $DBI::errstr; $sth -> execute ($filename);
But there's something missing? How do you retrieve the data? Look for the fetchrow_* mehods in DBI.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Check for null results
by Eagle_f90 (Acolyte) on Jun 27, 2007 at 17:18 UTC | |
by shmem (Chancellor) on Jun 27, 2007 at 20:37 UTC | |
by Eagle_f90 (Acolyte) on Jun 27, 2007 at 21:42 UTC |