MySQL Forums
Forum List  »  PHP

Re: How can i update an existing column with new data
Posted by: Barry Galbraith
Date: April 17, 2017 06:15AM

>Call to a member function bind_param() on boolean
Tells me that $stmt is a boolean rather than a handle to a prepared statement.
Which means
$stmt = $mysqli->prepare("INSERT INTO country_page_journeys('countryPage_id', thumbnail, descrição, titulo) VALUES(?,?,?,?)");
failed. I suspect 'countryPage_id' shouldn't be in quotes. That makes it a string rather than a column name, and you can't insert values into a string.

Good luck,
Barry.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.