Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该错误非常清楚地解释了问题:'未定义的索引'文本'
一开始你写:
$method_get_article = "SELECT TEXT FROM ARTICLE WHERE UID = '$user_id' LIMIT 1";
这意味着您选择名为“TEXT”的列,然后您编写:
$text = $article['Text'];
得到名为“文本”的列。
更改它们以使它们相同。