Basic issues, online and other online knot stickers

Source: Internet
Author: User
Online to find a message source. The database is a remote server. There are IP and port assumptions database name is ABC how to insert the information read from the following code into this database.


Reply to discussion (solution)

 ';} if ($email &&! Validateemail ($email)) {$error. = ' Please enter a validated mailbox
';} if (! $message | | strlen ($MESSAGE) < 3) {$error. = "Please enter your message
";} if (! $error) {$messages = "from: $email
"; $messages. =" Email: $email
"; $messages. =" Message: $message
"; $emailto = $to; $mail = Mail ($emailto, $subject, $messages," from: $from < $Reply >\nreply-to: $Reply \ncontent-type : text/html "); if ($mail) {echo ' Success ';}} else {echo '. $error. ';}}? >

www.w3school.com.cn
There is a tutorial for connecting db, inserting a db.

You didn't say what the database is, so you can't write code.

Look at the PDO in PHP.

The database is a remote server. This architecture is inappropriate and should be avoided. Because the connection is unreliable and unstable, performance is not.

The Mysqlconnect function does not have a server address. User name password. it. You use this connection. The rest are the same.

The great God from C + + to PHP?

Okay--I got it. Thank you for joining us. My knot

The great God from C + + to PHP? Well. Do the web. It's hard. Just do the web one week.

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