Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Odd Database Behavior

by Abigail-II (Bishop)
on Dec 15, 2003 at 17:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://314853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-19 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found