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 \'数据库选择成功\';

      }

 

    ?>

分类:

技术点:

相关文章:

  • 2021-05-26
  • 2021-11-17
  • 2021-08-22
  • 2021-08-16
  • 2021-12-02
  • 2021-11-23
  • 2022-01-07
猜你喜欢
  • 2021-08-03
  • 2021-05-20
  • 2021-11-17
  • 2021-11-17
  • 2021-12-31
  • 2021-11-17
相关资源
相似解决方案