<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->
include "connect.php";
$id=$_GET["id"];
$query="SELECT * from news Where id=".$id;
$result=mysql_query($query,$conn);
$row=mysql_fetch_array($result);
Copy after login
报错是 Warning: mysql_fetch_array() expects parameter 1 to be resource
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn