A trivial matter: code compilation and Database Integration

Source: Internet
Author: User
When I knocked on the student information management system today, I found this error during Operation: and pointed to trim (txttel. text. fields (5) is not displayed, and no error message is displayed. At this time, I think of the blog written by Yan lei. It seems that the type and input information in the database are not

When I knocked on the student information management system today, I found this error during Operation: and pointed to trim (txttel. text. fields (5) is not displayed, and no error message is displayed. At this time, I think of the blog written by Yan lei. It seems that the type and input information in the database are not

This error was found during the execution of the student information management system today:

And point to trim (txttel. text. fields (5) is not displayed, and no error message is displayed.

At this time, I thought of the blog written by lei. It seems that the type in the database does not match the input information. Based on this, I also read the database and did not expect it to be true.

The string in the database is 10 bits, and the phone number I wrote is 11 bits. Of course it is wrong. After that, it runs smoothly...

This may seem simple, but it is important. Writing code must be combined with a database. In addition, reading a blog is a pleasure. It can enrich the knowledge of a person. In short, it is a pleasure to do simple things.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.