Hello, at the last minute of the article modification, your add() should be changed to save(), or else just add? ? -PHP Chinese website Q&A-Hello, at the last minute of article modification, your add() should be changed to save(), or should it be added? ? -PHP Chinese website Q&A
replyHello, according to this modification, the prompt is successful, but the return interface has not changed, and the database has not changed either.
replyHello, after I changed ADD to save, it always prompts that the modification failed, but if it is add, it can be added successfully. What is the situation?
Hello, at the last minute of the article modification, your add() should be changed to save(), or else just add? ? -PHP Chinese website Q&A-Hello, at the last minute of article modification, your add() should be changed to save(), or should it be added? ? -PHP Chinese website Q&A
Let’s take a look and learn.
是的,应该修改成save