> Warning*: call_user_func_array()
[function.call-user-func-array<http://localhost/mbpa/function.call-user-func-array>]: First argument is expected to be a valid callback, 'Array' was given in * C:\xampp\htdocs\mbpa\classes\db.php* on line *45* *Fatal error*: Call to a member function execute() on a non-object in * C:\xampp\htdocs\mbpa\classes\db.php* on line *47*
Your $stmt var is no object. Seems like the prepare call returned no mysqli_stmt object but false. Check that with var_dump and the error property of the mysqli object.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php