httpssl

Mysql:

   <?php

      header(\'Content-Type:text/html;charset=utf-8\');

      $link = mysql_connect(\'localhost:3306\',\'root\',\'123456\');

      $db_selected = mysql_select_db(\'itcast\',\'$link\');

      if($db_selected){

        echo \'数据库选择成功\';

      }

 

    ?>

分类:

技术点:

相关文章: