|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
不过还好,PHP语言给出的语法错误很详细,只要稍微熟悉一点之后,看错误提示就能很容易找出错误所在的。PHP还有一个特别好用的调试功能,在PHP语句中,你可以随时用echo来输出结果。 <p> 以下为援用的内容:
<p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
body,td,.p1,.p2,.i{font-family:arial}
body{margin:6px 0 0 0;background-color:#fff;color:#000;}
table{border:0}
a.t:hover{TEXT-DECORATION:underline}
.f{line-height:100%;font-size:100%;width:43em;padding-left:15px;word-break:break-all;word-wrap:break-word;}
.Tit {height:21px; font-size:14px;}
.fB {font-weight:bold;}
.i1 {font-size:16px}
.bi {background-color:#D9E1F7;height:20px;margin-bottom:12px}
.p{padding-left:18px;font-size:14px;word-spacing:4px;}
.m,a.m:link{COLOR:#666666;font-size:100%;}
#ft{clear:both;line-height:20px;background:#E6E6E6;text-align:center}
#ft,#ft *{color:#77C;font-size:12px;font-family:Arial}
#ft span{color:#666}
#usrbar{padding-right:10px;line-height:19px;font-size:12px;font-family:Arial;text-align:right;white-space:nowrap;margin-bottom:3px !important;margin-bottom:10px;}
.kw {font-family:Verdana;font-size:18px;}
.sb {height:2em;width:5.6em;font-size:14px;}
#b {width:600px;height:30px;padding-top:4px;color:#77c;font-size:12px;font-family:Arial}
#km {font-size:14px;height:50px;}
#l {font-size:14px;font-family:arial;width:600px;text-align:left;margin-bottom:5px}
img{border:0}
</style>
<title>
<?php
$keyword=htmlspecialchars($_GET['keyword']);
if($keyword!="")
{
echo "网页教授教养网站内搜刮_".$keyword."——Powered By WEBJX.COM";
?> </title>
<?php
}
else
{?>
</title>
</head>
<body>
<br /></br />
<center><a href="/index.html" target="_blank"><img src=http://chinaz.com/Program/PHP/"images/php_logo_search_da.gif" alt="网页教授教养网站内搜刮" width="189" height="75" border="0" /></a><br />
<br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="92"></td>
<td height="62"><form action="/search.php" method="get" name="search_form" target="_self" id="f">
<input type="text" name="keyword" class="kw" size="32" maxlength="100"/>
<input type="hidden" name="page" value="1" />
<input name="submit" type="submit" class="sb" value="站内搜刮" />
<input type="hidden" name="writekeywords" value="yes" />
<br />
<br />
</form></td>
<td width="100" align="left"><a href="/others/search_help.html" target="_self" style="font-size:12px">匡助</a><br />
</td>
</tr>
</table>
<br />
<p style="height:30px;"><a target=_top href=javascript:window.external.AddFavorite('http://www.webjx.com','网页教授教养网') style="font-size:12px">把网页教授教养网到场保藏</a></p>
<p style="height:14px;font-size:12px;"><a href="/others/about_cn.html" target="_blank">关于网页教授教养网</a> | <a href="/others/about_en.html" target="_blank" style="font-size:12px">About Webjx.com</a></p>
<p id="b" style="font-size:12px"> |
|