I do the member registration page check the account number is repeated, there is a code to see not understand

Source: Internet
Author: User
I do the member registration page to check whether the account number is repeated, there is a paragraph of code can not understand


I use the DW8, the environment constructs the Appsev.

Is this not an error message? "Error: The same account name already exists, please re-enter", I read this book is this error hint in a table, the source code of this table is:




Error: The same account name already exists, please re-enter!!


This book in order to occur when the account duplication occurs when the error message table, for this it in the form of the source code section of the new PHP program code, add the following code as follows: (This is my doubts, because I see the crash of Dynamic web design, PHP knowledge is quite not strong, Here can not understand why add these two PHP code will be able to hide the error message form, and when the account duplication occurs when this table appears)





Error: The same account name already exists, please re-enter!!





------Solution--------------------
What is this textbook on? I have to say the quality is really bad.






Error: The same account name already exists, please re-enter!!



Here you can understand

if ($_get[err]== "Y") {if this is true then the contents of the output {}

So remove The rest is the Terminator}
  • Related Article

    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.