$conn = @mysql_connect('localhost:3306','test','test');
include_once "js.class.php";
include_once "pager.class.php";
include_once "whxbb.class.php";
include_once "whxbb_article.class.php";
// 以上代码最好全放在一个包含文件中
// 显示ID为3的记录的所有字段信息
$article = new Article();
$info = $article->GetInfo(3);
if (WHXBB::isError($info))
new WHXBB_Error("读取文章信息失败,请您稍后再试", 1, WHXBB_ERROR_ECHO);
else if($info == 0)
new WHXBB_Error("没有找到您需要的记录", 2, WHXBB_ERROR_ECHO);
else
{
echo $info['title'];
echo "
";
echo "作者:" . $info['author'];
echo "
";
echo $info['content'];
}
@mysql_close($conn);
?>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Chinese version
Chinese version, very easy to use

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
