Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Odd Database Behavior

by Abigail-II (Bishop)
on Dec 15, 2003 at 17:11 UTC ( #314853=note: print w/replies, xml ) Need Help??


in reply to Odd Database Behavior

A few things:
  • Check the result of your prepare.
  • Check the result of your execute.
  • Don't quote placeholders.
  • Why check the number of rows returned (which might not even available until all rows have been fetched)if you are doing a count (*)?
  • Why quote the -1 you are returning?
Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://314853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2021-04-13 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?