Jennifer,
It's the $dbh that is undefined. You don't have a database handle. Either
you didn't connect, or you had an error during the connection.
Mark
Jennifer wrote:
> I'm very rusty on this.
>
> I'm getting the following error
> Can't call method "do" on an undefined value at
>
> The offending line is
>
> $dbh->do($sql);
>
> So I tried printing the value of $sql to the screen right before the this
> line and it does indeed have a value so the undefined part is throwing me
> for a loop and I can't figure it out.
>
> Jennifer
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Looking for books, software, movies, music...
> http://www.chapters.ca/Default.asp?AFFID=108464
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Quality Children's Products - http://Store.MomsAtHome.ca/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Your own domain name for as little as $13 US
> http://www.mahDesigns.com/domains/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Mark Vandenbroeck Mobile : +32-495-59.55.62
EMEA Support Information Systems Email : [EMAIL PROTECTED]
AIM : markvdb