Connection cn = DriverManager.getConnection ("jdbc:mysql://localhost/posdb", "root", "");错误消息:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL
是否可以在不使用jQuery刷新页面的情况下将新插入的行加载到数据库中?我可以使用jquery在不刷新的情况下将数据发送到数据库,但是我无法在不刷新页面的情况下显示回数据。如何在不刷新页面的情况下显示表中的数据,并使其显示在index.php中的表下,以便显示检索到的数据?// Check connection
if (mysq