PHP 程序开发

PHP 程序开发 扫二维码继续学习 二维码时效为半小时

《PHP 程序开发》课程涵盖PHP的基本语法、流程控制、函数应用、对象编程和框架技术,最后综合应用HTML和MySQL数据库实现Web项目应用开发。本课程的前导课程有:网页设计和数据库技术。

该课程属于 2017级软件技术4班
请加入后再学习

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               c     

[展开全文]
17软3胡帅丁元 · 2019-04-09 · 0

<?php
$id=mysql_connect("localhost","root","root");
if($id){
 echo"OK,数据库连接成功!<br>";
 $ok=mysql_select_db("student",$id);
 if($id){
  echo"OK,选择数据库成功!";
 }else{
  echo"OH,选择数据库失败,请确认数据库是否存在 ";
 }
    }else{
  echo"OH,数据库连接失败!请检查服务地址、用户名和地址是否正确!
  <br>";
 }
 ?>
 

[展开全文]
17软四24涂伟 · 2019-04-09 · 0