亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

php - data insertion problem
伊謝爾倫
伊謝爾倫 2017-05-16 13:13:55
0
4
456

I'm a little speechless. It's such a simple statement, but I searched for a long time and couldn't find out why the data couldn't be inserted.

There is no problem with the local database. It should be a code problem, but I am blinded and cannot find the error. Please help me.



##There is no data at the end, the links are all normal, and there is no problem in submitting data from other web pages.

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(4)
漂亮男人

Finally I found the correct answer. declare is a system reserved keyword, so this database table cannot be used. . . After all, he is too young. . .

黃舟

Your MySQL port seems to be 3305, but you did not specify it. The default port is 3306.

巴扎黑

Do I need to specify the fields of the table?

phpcn_u1582

First of all, it is not recommended to use MySQL extension, it is unsafe, and PHP has been abandoned. Use MySQLi or PDO.

Secondly. If the execution fails, use mysql_error()
to obtain the error information.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template