martinthurn
New member
The variable you are calling "prepare" on is $dbh. Therefore, it's saying that $dbh is undefined.
BTW the return value of prepare() is a statement handle, so you should call the variable something like $sth instead of $sqlQuery.
BTW the return value of prepare() is a statement handle, so you should call the variable something like $sth instead of $sqlQuery.