Thread
:
aargh! include thing with function call
View Single Post
Jul 30th, 2005, 6:42 PM
#
13
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power:
10
Test the success of the query before you try to use the result in subsequent operations. If the query failed you won't have something you can fetch an array from. If you use the query error message you'll normally get an informative guide.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei