On Fri, 24 Oct 2003 02:17:31 -0700 (PDT) [EMAIL PROTECTED] wrote:
> I do know that it is a SELECT but I'm getting some kind of error on
> the fetch call. From this, I know there should be data but it's
> either failing or I lost the handle (sth). Though, I did some simple
> coding and found that it is not NULL (it is defined) but not
> fetching. And the code is crsahing
What error messages are you seeing? If you want help, you have to give
us something to work with.
The examples you gave were not testing for the result of the
operations. If you want your code to operate consistantly, you must
either set $dbh->{RaiseError} before you call prepare() or you must
check the result of each operation explicitly.
--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.