could not use PDO with ‘ -> ‘ command
-
I have codes with PDO, such as myPDO->prepare(), but it return error:
Fatal error: Uncaught Error: Call to a member function prepare() on nullwhen I run the same codes on independent .php file, it executes normally.
Kindly help.
Thanks,
The topic ‘could not use PDO with ‘ -> ‘ command’ is closed to new replies.