New guy, how to connect to mysql-php Tutorial 5.4

Source: Internet
Author: User
New guy, 5.4 how to connect to mysql & nbsp; for java, I feel that my configuration is correct recently. The page of phpinfo () can be displayed. now I want to ask how to write it in the PHP file, so I can't speak up. it's a little tired at noon .. ------ Solution -------------------- New employee mysqli_co, 5.4 how to connect to mysql
I am familiar with java recently. I feel that my configuration is correct. The page of phpinfo () can be displayed. now I want to ask how to write it in the PHP file, so I can't speak up. it's a little tired at noon ..


------ Solution --------------------
Mysqli_connect ($ host, $ user, $ pwd, $ db, $ port );

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.