Querying user information using PHP

Source: Internet
Author: User
Want to be in a module in the webpage, according to the user input ID and password query, the user's relevant information. Database for MSSQL

Through the form of the ID and password to the PHP page, and then the PHP page connected to the database, according to the ID query user-specific information, and finally return the information to the page

Do you have any examples for me to see.


Reply to discussion (solution)

According to your MSSQL version of the online can find the relevant code, it is recommended to search first.

Just don't see the example. Some can not read.

Looked down. Probably know how to connect to the database. But. How to combine forms, based on user input queries, and return results to the page.

Simple to give you a thought ah.
Make a form and submit it to the current page or to another page. Submission method $_post or $_get.
The receiving page accepts the submitted data.
Connect to the database, based on the user's ID. To the database for matching,
If the match succeeds. All information for that ID is output.

And I know it should be. But. Not much has been done in this regard. Just to see an example. Own side of the test.

http://www.google.com.hk/#newwindow =1&safe=strict&site=&source=hp&q=php+form&oq=php+form &GS_L=HP.3 ... 1083.2064.0.2357.8.7.0.0.0.0.199.199.0j1.1.0 ... 0.0...1c.1.12.hp.m1abwt2knoa&bav=on.2,or.&bvm=bv.45960087,d.dgi&fp=5c35d7d3a3e3fbf7&biw=1525 &bih=741

  • 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.