This "Call to a member function bind_param() on boolean" error message was driving me crazy, the more that I didn't have any boolean in bind_param values, so didn't understand what this was all about.
As you are saying, adding the IF statement to catch the errors is a true life-saver - I saw my problem straigt away - I have mismatched a field name (query vs table).
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Fatal error: Call to a member function bind_param() on boolean
in PHP Coding Help
Posted · Edited by EasyCoder
You are a star CadJoe! 🐵
This "Call to a member function bind_param() on boolean" error message was driving me crazy, the more that I didn't have any boolean in bind_param values, so didn't understand what this was all about.
As you are saying, adding the IF statement to catch the errors is a true life-saver - I saw my problem straigt away - I have mismatched a field name (query vs table).
Thanks a lot, you helped me 3 years later! 🐵
EasyCoder