标签:
<?php //1.生成链接 $db_connect = mysql_connect("localhost","root","20982239"); //2.选择操作哪个数据库 mysql_select_db("mydb",$db_connect); //3.写sql语句 $sql = "delete from Info where Code=‘p001‘"; //执行sql语句 $result = mysql_query($sql); //var_dump($result); //处理查询结果 /* $row = mysql_fetch_row($result); print_r($row); */ echo $result; ?>
标签:
原文地址:http://www.cnblogs.com/shark1100913/p/5314241.html